Commit 70f34f0d authored by Anna Malova's avatar Anna Malova Committed by Commit Bot

Add explicit value for android:exported in DevUI Activities.

Bug: 1120709
Change-Id: I12841b7bfd5d9a987ec6c9e13016e8109aef447f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368876
Commit-Queue: Anna Malova <amalova@chromium.org>
Reviewed-by: default avatarNate Fischer <ntfschr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800783}
parent 1aa3d4a7
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
android:theme="@android:style/Theme.Translucent.NoTitleBar"> android:theme="@android:style/Theme.Translucent.NoTitleBar">
</activity> # DIFF-ANCHOR: ea1a94af </activity> # DIFF-ANCHOR: ea1a94af
<activity # DIFF-ANCHOR: a4438884 <activity # DIFF-ANCHOR: a4438884
android:exported="true"
android:icon="@drawable/icon_webview" android:icon="@drawable/icon_webview"
android:label="WebView DevTools" android:label="WebView DevTools"
android:launchMode="singleTask" android:launchMode="singleTask"
...@@ -40,6 +41,7 @@ ...@@ -40,6 +41,7 @@
</intent-filter> # DIFF-ANCHOR: b80aa336 </intent-filter> # DIFF-ANCHOR: b80aa336
</activity> # DIFF-ANCHOR: a4438884 </activity> # DIFF-ANCHOR: a4438884
<activity # DIFF-ANCHOR: aeabab17 <activity # DIFF-ANCHOR: aeabab17
android:exported="true"
android:label="@string/license_activity_title" android:label="@string/license_activity_title"
android:name="org.chromium.android_webview.nonembedded.LicenseActivity" android:name="org.chromium.android_webview.nonembedded.LicenseActivity"
android:process=":webview_apk"> android:process=":webview_apk">
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
android:theme="@android:style/Theme.Translucent.NoTitleBar"> android:theme="@android:style/Theme.Translucent.NoTitleBar">
</activity> # DIFF-ANCHOR: ea1a94af </activity> # DIFF-ANCHOR: ea1a94af
<activity # DIFF-ANCHOR: a4438884 <activity # DIFF-ANCHOR: a4438884
android:exported="true"
android:icon="@drawable/icon_webview" android:icon="@drawable/icon_webview"
android:label="WebView DevTools" android:label="WebView DevTools"
android:launchMode="singleTask" android:launchMode="singleTask"
...@@ -40,6 +41,7 @@ ...@@ -40,6 +41,7 @@
</intent-filter> # DIFF-ANCHOR: b80aa336 </intent-filter> # DIFF-ANCHOR: b80aa336
</activity> # DIFF-ANCHOR: a4438884 </activity> # DIFF-ANCHOR: a4438884
<activity # DIFF-ANCHOR: aeabab17 <activity # DIFF-ANCHOR: aeabab17
android:exported="true"
android:label="@string/license_activity_title" android:label="@string/license_activity_title"
android:name="org.chromium.android_webview.nonembedded.LicenseActivity" android:name="org.chromium.android_webview.nonembedded.LicenseActivity"
android:process=":webview_apk"> android:process=":webview_apk">
......
...@@ -46,7 +46,8 @@ ...@@ -46,7 +46,8 @@
android:theme="@style/Theme.DevUi.DayNight" android:theme="@style/Theme.DevUi.DayNight"
android:launchMode="singleTask" android:launchMode="singleTask"
android:taskAffinity="{{ manifest_package }}.org.chromium.android_webview.devui" {# Explicit taskAffinity to distinguish from monochrome browser task. #} android:taskAffinity="{{ manifest_package }}.org.chromium.android_webview.devui" {# Explicit taskAffinity to distinguish from monochrome browser task. #}
android:process=":webview_apk"> {# Explicit process required for monochrome compatibility. #} android:process=":webview_apk" {# Explicit process required for monochrome compatibility. #}
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="com.android.webview.SHOW_DEV_UI" /> <action android:name="com.android.webview.SHOW_DEV_UI" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
...@@ -62,7 +63,8 @@ ...@@ -62,7 +63,8 @@
<activity android:name="org.chromium.android_webview.nonembedded.LicenseActivity" <activity android:name="org.chromium.android_webview.nonembedded.LicenseActivity"
android:label="@string/license_activity_title" android:label="@string/license_activity_title"
android:process=":webview_apk"> {# Explicit process required for monochrome compatibility. #} android:process=":webview_apk" {# Explicit process required for monochrome compatibility. #}
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.settings.WEBVIEW_LICENSE" /> <action android:name="android.settings.WEBVIEW_LICENSE" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
......
...@@ -106,6 +106,7 @@ ...@@ -106,6 +106,7 @@
android:theme="@android:style/Theme.Material.Light.Dialog.Alert"> android:theme="@android:style/Theme.Material.Light.Dialog.Alert">
</activity> # DIFF-ANCHOR: 28dc9019 </activity> # DIFF-ANCHOR: 28dc9019
<activity # DIFF-ANCHOR: a4438884 <activity # DIFF-ANCHOR: a4438884
android:exported="true"
android:icon="@drawable/icon_webview" android:icon="@drawable/icon_webview"
android:label="WebView DevTools" android:label="WebView DevTools"
android:launchMode="singleTask" android:launchMode="singleTask"
...@@ -121,6 +122,7 @@ ...@@ -121,6 +122,7 @@
</intent-filter> # DIFF-ANCHOR: a167e73d </intent-filter> # DIFF-ANCHOR: a167e73d
</activity> # DIFF-ANCHOR: a4438884 </activity> # DIFF-ANCHOR: a4438884
<activity # DIFF-ANCHOR: aeabab17 <activity # DIFF-ANCHOR: aeabab17
android:exported="true"
android:label="@string/license_activity_title" android:label="@string/license_activity_title"
android:name="org.chromium.android_webview.nonembedded.LicenseActivity" android:name="org.chromium.android_webview.nonembedded.LicenseActivity"
android:process=":webview_apk"> android:process=":webview_apk">
......
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