Commit e0dc9078 authored by François Beaufort's avatar François Beaufort Committed by Commit Bot

[Android WebAPK] Declare intent filter for NFC

This CL declares a NFC intent filter so that Android can directly
start WebAPK activity if in the scope of the WebAPK.

Change-Id: Ia9c716bc37f4534d6cf6cd387e53a6152d9d0f8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863190Reviewed-by: default avatarPeter Kotwicz <pkotwicz@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#706464}
parent cfda2651
......@@ -42,6 +42,11 @@
<category android:name="android.intent.category.BROWSABLE"></category>
<data android:scheme="{{{scope_url_scheme}}}" android:host="{{{scope_url_host}}}" {{{scope_url_path_type}}}="{{{scope_url_path}}}"></data>
</intent-filter>
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<data android:scheme="{{{scope_url_scheme}}}" android:host="{{{scope_url_host}}}" {{{scope_url_path_type}}}="{{{scope_url_path}}}"></data>
</intent-filter>
{{/intent_filters}}
{{{raw_intent_filters}}}
</activity>
......
......@@ -12,4 +12,4 @@
# //chrome/android/webapk/shell_apk:webapk is changed. This includes
# Java files, Android resource files and AndroidManifest.xml. Does not affect
# Chrome.apk
current_shell_apk_version = 109
current_shell_apk_version = 110
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment