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

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

Issue 2762873003: Fix: long-tapping a WebAPK in recents shows Chrome.
Patch Set: Change back to CLEAR_TOP flag. Created 3 years, 8 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
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 }}" >
(...skipping 13 matching lines...) Expand all
24 <action android:name="android.intent.action.MAIN" /> 24 <action android:name="android.intent.action.MAIN" />
25 <category android:name="android.intent.category.LAUNCHER" /> 25 <category android:name="android.intent.category.LAUNCHER" />
26 </intent-filter> 26 </intent-filter>
27 <intent-filter> 27 <intent-filter>
28 <action android:name="android.intent.action.VIEW"></action> 28 <action android:name="android.intent.action.VIEW"></action>
29 <category android:name="android.intent.category.DEFAULT"></categ ory> 29 <category android:name="android.intent.category.DEFAULT"></categ ory>
30 <category android:name="android.intent.category.BROWSABLE"></cat egory> 30 <category android:name="android.intent.category.BROWSABLE"></cat egory>
31 <data android:scheme="{{ scope_url_scheme }}" android:host="{{ s cope_url_host }}" android:pathPrefix="{{ scope_url_path }}"></data> 31 <data android:scheme="{{ scope_url_scheme }}" android:host="{{ s cope_url_host }}" android:pathPrefix="{{ scope_url_path }}"></data>
32 </intent-filter> 32 </intent-filter>
33 </activity> 33 </activity>
34 <activity android:name="org.chromium.webapk.shell_apk.ShellActivity"
35 android:theme="@android:style/Theme.Translucent.NoTitleBar">
Yaron 2017/03/29 14:07:33 android:exported=false so others can't use it
Xi Han 2017/03/29 15:16:43 Done.
36 </activity>
34 <activity android:name="org.chromium.webapk.shell_apk.NotificationSettin gsLauncherActivity"> 37 <activity android:name="org.chromium.webapk.shell_apk.NotificationSettin gsLauncherActivity">
35 <intent-filter> 38 <intent-filter>
36 <action android:name="android.intent.action.MAIN"/> 39 <action android:name="android.intent.action.MAIN"/>
37 <category android:name="android.intent.category.NOTIFICATION_PRE FERENCES"/> 40 <category android:name="android.intent.category.NOTIFICATION_PRE FERENCES"/>
38 </intent-filter> 41 </intent-filter>
39 </activity> 42 </activity>
40 <meta-data android:name="org.chromium.webapk.shell_apk.shellApkVersion" android:value="{{ shell_apk_version }}" /> 43 <meta-data android:name="org.chromium.webapk.shell_apk.shellApkVersion" android:value="{{ shell_apk_version }}" />
41 <meta-data android:name="org.chromium.webapk.shell_apk.runtimeHost" andr oid:value="{{ runtime_host }}" /> 44 <meta-data android:name="org.chromium.webapk.shell_apk.runtimeHost" andr oid:value="{{ runtime_host }}" />
42 <meta-data android:name="org.chromium.webapk.shell_apk.startUrl" android :value="{{ start_url }}" /> 45 <meta-data android:name="org.chromium.webapk.shell_apk.startUrl" android :value="{{ start_url }}" />
43 <meta-data android:name="org.chromium.webapk.shell_apk.name" android:val ue="{{ name }}" /> 46 <meta-data android:name="org.chromium.webapk.shell_apk.name" android:val ue="{{ name }}" />
(...skipping 29 matching lines...) Expand all
73 android:process=":webapk_sandboxed_process1" 76 android:process=":webapk_sandboxed_process1"
74 android:exported="true" 77 android:exported="true"
75 tools:ignore="ExportedService"/> 78 tools:ignore="ExportedService"/>
76 <service android:name="org.chromium.webapk.shell_apk.WebApkSandboxedProc essService2" 79 <service android:name="org.chromium.webapk.shell_apk.WebApkSandboxedProc essService2"
77 android:isolatedProcess="true" 80 android:isolatedProcess="true"
78 android:process=":webapk_sandboxed_process2" 81 android:process=":webapk_sandboxed_process2"
79 android:exported="true" 82 android:exported="true"
80 tools:ignore="ExportedService"/> 83 tools:ignore="ExportedService"/>
81 </application> 84 </application>
82 </manifest> 85 </manifest>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698