Commit 3d531afd authored by Glenn Hartmann's avatar Glenn Hartmann Committed by Commit Bot

Allow specification of intent filter path type

Bug: 755336
Change-Id: I4dfb8860c0f0a1ba6855b3d7b7272f8e2f5c9fc1
Reviewed-on: https://chromium-review.googlesource.com/624674
Commit-Queue: Glenn Hartmann <hartmanng@chromium.org>
Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#496463}
parent aea3b204
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<action android:name="android.intent.action.VIEW"></action> <action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category> <category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category> <category android:name="android.intent.category.BROWSABLE"></category>
<data android:scheme="{{{scope_url_scheme}}}" android:host="{{{scope_url_host}}}" android:pathPrefix="{{{scope_url_path}}}"></data> <data android:scheme="{{{scope_url_scheme}}}" android:host="{{{scope_url_host}}}" {{{scope_url_path_type}}}="{{{scope_url_path}}}"></data>
</intent-filter> </intent-filter>
{{/intent_filters}} {{/intent_filters}}
</activity> </activity>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"intent_filters": { "intent_filters": {
"scope_url_scheme": "https", "scope_url_scheme": "https",
"scope_url_host": "pwa.rocks", "scope_url_host": "pwa.rocks",
"scope_url_path_type": "android:pathPrefix",
"scope_url_path": "/" "scope_url_path": "/"
}, },
"start_url": "https://pwa.rocks/", "start_url": "https://pwa.rocks/",
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"intent_filters": { "intent_filters": {
"scope_url_scheme": "https", "scope_url_scheme": "https",
"scope_url_host": "pwa.rocks", "scope_url_host": "pwa.rocks",
"scope_url_path_type": "android:pathPrefix",
"scope_url_path": "/" "scope_url_path": "/"
}, },
"start_url": "https://pwa.rocks/", "start_url": "https://pwa.rocks/",
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# (including AndroidManifest.xml) is updated. This version should be incremented # (including AndroidManifest.xml) is updated. This version should be incremented
# prior to uploading a new ShellAPK to the WebAPK Minting Server. # prior to uploading a new ShellAPK to the WebAPK Minting Server.
# Does not affect Chrome.apk # Does not affect Chrome.apk
template_shell_apk_version = 20 template_shell_apk_version = 21
# The ShellAPK version expected by Chrome. Chrome will try to update the WebAPK # The ShellAPK version expected by Chrome. Chrome will try to update the WebAPK
# if the WebAPK's ShellAPK version is less than |expected_shell_apk_version|. # if the WebAPK's ShellAPK version is less than |expected_shell_apk_version|.
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"intent_filters": { "intent_filters": {
"scope_url_scheme": "https", "scope_url_scheme": "https",
"scope_url_host": "pwa.rocks", "scope_url_host": "pwa.rocks",
"scope_url_path_type": "android:pathPrefix",
"scope_url_path": "/" "scope_url_path": "/"
}, },
"start_url": "https://pwa.rocks/", "start_url": "https://pwa.rocks/",
......
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