Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: chrome/android/webapk/shell_apk/AndroidManifest.xml

Issue 2270303002: Make WebAPK intent filter only match URLs within full scope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 6 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:tools="http://schemas.android.com/tools" 7 xmlns:tools="http://schemas.android.com/tools"
8 package="{{ manifest_package }}" 8 package="{{ manifest_package }}"
9 android:versionCode="{{ version_code }}" 9 android:versionCode="{{ version_code }}"
10 android:versionName="{{ version_name }}" > 10 android:versionName="{{ version_name }}" >
11 11
12 <uses-sdk 12 <uses-sdk
13 android:minSdkVersion="16" 13 android:minSdkVersion="16"
14 android:targetSdkVersion="23" /> 14 android:targetSdkVersion="23" />
15 15
16 <application 16 <application
17 android:icon="@drawable/app_icon" 17 android:icon="@drawable/app_icon"
18 android:label="{{ short_name }}" 18 android:label="{{ short_name }}"
19 android:allowBackup="false"> 19 android:allowBackup="false">
20 <activity android:name="org.chromium.webapk.shell_apk.MainActivity" 20 <activity android:name="org.chromium.webapk.shell_apk.MainActivity"
21 android:theme="@android:style/Theme.Translucent.NoTitleBar"> 21 android:theme="@android:style/Theme.Translucent.NoTitleBar">
22 <intent-filter> 22 <intent-filter>
23 <action android:name="android.intent.action.MAIN" /> 23 <action android:name="android.intent.action.MAIN" />
24 <category android:name="android.intent.category.LAUNCHER" /> 24 <category android:name="android.intent.category.LAUNCHER" />
25 </intent-filter> 25 </intent-filter>
26 <intent-filter> 26 <intent-filter>
27 <action android:name="android.intent.action.VIEW"></action> 27 <action android:name="android.intent.action.VIEW"></action>
28 <category android:name="android.intent.category.DEFAULT"></categ ory> 28 <category android:name="android.intent.category.DEFAULT"></categ ory>
29 <category android:name="android.intent.category.BROWSABLE"></cat egory> 29 <category android:name="android.intent.category.BROWSABLE"></cat egory>
30 <data android:scheme="https" android:host="{{ scope_url_host }}" android:pathPrefix="/"></data> 30 <data android:scheme="https" android:host="{{ scope_url_host }}" android:pathPattern="{{ scope_url_path }}.*"></data>
31 </intent-filter> 31 </intent-filter>
32 </activity> 32 </activity>
33 <activity android:name="org.chromium.webapk.shell_apk.NotificationSettin gsLauncherActivity"> 33 <activity android:name="org.chromium.webapk.shell_apk.NotificationSettin gsLauncherActivity">
34 <intent-filter> 34 <intent-filter>
35 <action android:name="android.intent.action.MAIN"/> 35 <action android:name="android.intent.action.MAIN"/>
36 <category android:name="android.intent.category.NOTIFICATION_PRE FERENCES"/> 36 <category android:name="android.intent.category.NOTIFICATION_PRE FERENCES"/>
37 </intent-filter> 37 </intent-filter>
38 </activity> 38 </activity>
39 <meta-data android:name="org.chromium.webapk.shell_apk.runtimeHost" andr oid:value="{{ runtime_host }}" /> 39 <meta-data android:name="org.chromium.webapk.shell_apk.runtimeHost" andr oid:value="{{ runtime_host }}" />
40 <meta-data android:name="org.chromium.webapk.shell_apk.startUrl" android :value="{{ start_url }}" /> 40 <meta-data android:name="org.chromium.webapk.shell_apk.startUrl" android :value="{{ start_url }}" />
(...skipping 29 matching lines...) Expand all
70 android:process=":webapk_sandboxed_process1" 70 android:process=":webapk_sandboxed_process1"
71 android:exported="true" 71 android:exported="true"
72 tools:ignore="ExportedService"/> 72 tools:ignore="ExportedService"/>
73 <service android:name="org.chromium.webapk.shell_apk.WebApkSandboxedProc essService2" 73 <service android:name="org.chromium.webapk.shell_apk.WebApkSandboxedProc essService2"
74 android:isolatedProcess="true" 74 android:isolatedProcess="true"
75 android:process=":webapk_sandboxed_process2" 75 android:process=":webapk_sandboxed_process2"
76 android:exported="true" 76 android:exported="true"
77 tools:ignore="ExportedService"/> 77 tools:ignore="ExportedService"/>
78 </application> 78 </application>
79 </manifest> 79 </manifest>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698