Commit ef634b9b authored by Ben Mason's avatar Ben Mason Committed by Commit Bot

Add explicit value for android:exported when intent filters are present.

Bug: 1126713
Change-Id: Ie53a32768b8246f6ec7443281c65a08608f4e04d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404521
Commit-Queue: Ben Mason <benmason@chromium.org>
Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805955}
parent 93f7a69d
...@@ -197,6 +197,7 @@ ...@@ -197,6 +197,7 @@
<activity # DIFF-ANCHOR: a208e726 <activity # DIFF-ANCHOR: a208e726
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="true"
android:name="org.chromium.chrome.browser.bookmarks.BookmarkAddActivity" android:name="org.chromium.chrome.browser.bookmarks.BookmarkAddActivity"
android:theme="@android:style/Theme.NoDisplay" android:theme="@android:style/Theme.NoDisplay"
android:windowSoftInputMode="stateHidden"> android:windowSoftInputMode="stateHidden">
...@@ -587,6 +588,7 @@ ...@@ -587,6 +588,7 @@
</activity> # DIFF-ANCHOR: 5e467d8a </activity> # DIFF-ANCHOR: 5e467d8a
<activity # DIFF-ANCHOR: aea75380 <activity # DIFF-ANCHOR: aea75380
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="true"
android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity" android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity"
android:taskAffinity="" android:taskAffinity=""
android:theme="@android:style/Theme.NoDisplay"> android:theme="@android:style/Theme.NoDisplay">
...@@ -857,6 +859,7 @@ ...@@ -857,6 +859,7 @@
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
</provider> # DIFF-ANCHOR: 6e306896 </provider> # DIFF-ANCHOR: 6e306896
<receiver # DIFF-ANCHOR: 7d221226 <receiver # DIFF-ANCHOR: 7d221226
android:exported="true"
android:label="@string/bookmark_widget_title" android:label="@string/bookmark_widget_title"
android:name="com.google.android.apps.chrome.appwidget.bookmarks.BookmarkThumbnailWidgetProvider"> android:name="com.google.android.apps.chrome.appwidget.bookmarks.BookmarkThumbnailWidgetProvider">
<intent-filter> # DIFF-ANCHOR: 1ebe78e9 <intent-filter> # DIFF-ANCHOR: 1ebe78e9
...@@ -948,6 +951,7 @@ ...@@ -948,6 +951,7 @@
android:name="org.chromium.chrome.browser.omaha.UpdateNotificationController$UpdateNotificationReceiver"> android:name="org.chromium.chrome.browser.omaha.UpdateNotificationController$UpdateNotificationReceiver">
</receiver> # DIFF-ANCHOR: 40a69297 </receiver> # DIFF-ANCHOR: 40a69297
<receiver # DIFF-ANCHOR: 3664f7eb <receiver # DIFF-ANCHOR: 3664f7eb
android:exported="true"
android:label="@string/search_widget_title" android:label="@string/search_widget_title"
android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider"> android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider">
<intent-filter> # DIFF-ANCHOR: 4ed161a4 <intent-filter> # DIFF-ANCHOR: 4ed161a4
...@@ -964,11 +968,13 @@ ...@@ -964,11 +968,13 @@
</intent-filter> # DIFF-ANCHOR: fc048873 </intent-filter> # DIFF-ANCHOR: fc048873
<meta-data android:name="android.appwidget.provider" android:resource="@xml/search_widget_info"/> <meta-data android:name="android.appwidget.provider" android:resource="@xml/search_widget_info"/>
</receiver> # DIFF-ANCHOR: 3664f7eb </receiver> # DIFF-ANCHOR: 3664f7eb
<receiver android:name="org.chromium.chrome.browser.services.AccountsChangedReceiver"> # DIFF-ANCHOR: 4de2a279 <receiver # DIFF-ANCHOR: cdc9c912
android:exported="true"
android:name="org.chromium.chrome.browser.services.AccountsChangedReceiver">
<intent-filter> # DIFF-ANCHOR: 6a188b57 <intent-filter> # DIFF-ANCHOR: 6a188b57
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED"/> <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED"/>
</intent-filter> # DIFF-ANCHOR: 6a188b57 </intent-filter> # DIFF-ANCHOR: 6a188b57
</receiver> # DIFF-ANCHOR: 4de2a279 </receiver> # DIFF-ANCHOR: cdc9c912
<receiver # DIFF-ANCHOR: 93e73992 <receiver # DIFF-ANCHOR: 93e73992
android:exported="true" android:exported="true"
android:name="org.chromium.chrome.browser.sharing.click_to_call.ClickToCallMessageHandler$PhoneUnlockedReceiver"> android:name="org.chromium.chrome.browser.sharing.click_to_call.ClickToCallMessageHandler$PhoneUnlockedReceiver">
......
...@@ -170,6 +170,7 @@ ...@@ -170,6 +170,7 @@
<activity # DIFF-ANCHOR: a208e726 <activity # DIFF-ANCHOR: a208e726
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="true"
android:name="org.chromium.chrome.browser.bookmarks.BookmarkAddActivity" android:name="org.chromium.chrome.browser.bookmarks.BookmarkAddActivity"
android:theme="@android:style/Theme.NoDisplay" android:theme="@android:style/Theme.NoDisplay"
android:windowSoftInputMode="stateHidden"> android:windowSoftInputMode="stateHidden">
...@@ -560,6 +561,7 @@ ...@@ -560,6 +561,7 @@
</activity> # DIFF-ANCHOR: 5e467d8a </activity> # DIFF-ANCHOR: 5e467d8a
<activity # DIFF-ANCHOR: aea75380 <activity # DIFF-ANCHOR: aea75380
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="true"
android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity" android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity"
android:taskAffinity="" android:taskAffinity=""
android:theme="@android:style/Theme.NoDisplay"> android:theme="@android:style/Theme.NoDisplay">
...@@ -797,6 +799,7 @@ ...@@ -797,6 +799,7 @@
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
</provider> # DIFF-ANCHOR: 6e306896 </provider> # DIFF-ANCHOR: 6e306896
<receiver # DIFF-ANCHOR: 7d221226 <receiver # DIFF-ANCHOR: 7d221226
android:exported="true"
android:label="@string/bookmark_widget_title" android:label="@string/bookmark_widget_title"
android:name="com.google.android.apps.chrome.appwidget.bookmarks.BookmarkThumbnailWidgetProvider"> android:name="com.google.android.apps.chrome.appwidget.bookmarks.BookmarkThumbnailWidgetProvider">
<intent-filter> # DIFF-ANCHOR: 1ebe78e9 <intent-filter> # DIFF-ANCHOR: 1ebe78e9
...@@ -888,6 +891,7 @@ ...@@ -888,6 +891,7 @@
android:name="org.chromium.chrome.browser.omaha.UpdateNotificationController$UpdateNotificationReceiver"> android:name="org.chromium.chrome.browser.omaha.UpdateNotificationController$UpdateNotificationReceiver">
</receiver> # DIFF-ANCHOR: 40a69297 </receiver> # DIFF-ANCHOR: 40a69297
<receiver # DIFF-ANCHOR: 3664f7eb <receiver # DIFF-ANCHOR: 3664f7eb
android:exported="true"
android:label="@string/search_widget_title" android:label="@string/search_widget_title"
android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider"> android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider">
<intent-filter> # DIFF-ANCHOR: 4ed161a4 <intent-filter> # DIFF-ANCHOR: 4ed161a4
...@@ -904,11 +908,13 @@ ...@@ -904,11 +908,13 @@
</intent-filter> # DIFF-ANCHOR: fc048873 </intent-filter> # DIFF-ANCHOR: fc048873
<meta-data android:name="android.appwidget.provider" android:resource="@xml/search_widget_info"/> <meta-data android:name="android.appwidget.provider" android:resource="@xml/search_widget_info"/>
</receiver> # DIFF-ANCHOR: 3664f7eb </receiver> # DIFF-ANCHOR: 3664f7eb
<receiver android:name="org.chromium.chrome.browser.services.AccountsChangedReceiver"> # DIFF-ANCHOR: 4de2a279 <receiver # DIFF-ANCHOR: cdc9c912
android:exported="true"
android:name="org.chromium.chrome.browser.services.AccountsChangedReceiver">
<intent-filter> # DIFF-ANCHOR: 6a188b57 <intent-filter> # DIFF-ANCHOR: 6a188b57
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED"/> <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED"/>
</intent-filter> # DIFF-ANCHOR: 6a188b57 </intent-filter> # DIFF-ANCHOR: 6a188b57
</receiver> # DIFF-ANCHOR: 4de2a279 </receiver> # DIFF-ANCHOR: cdc9c912
<receiver # DIFF-ANCHOR: 93e73992 <receiver # DIFF-ANCHOR: 93e73992
android:exported="true" android:exported="true"
android:name="org.chromium.chrome.browser.sharing.click_to_call.ClickToCallMessageHandler$PhoneUnlockedReceiver"> android:name="org.chromium.chrome.browser.sharing.click_to_call.ClickToCallMessageHandler$PhoneUnlockedReceiver">
......
...@@ -604,7 +604,8 @@ by a child template that "extends" this file. ...@@ -604,7 +604,8 @@ by a child template that "extends" this file.
android:theme="@android:style/Theme.NoDisplay" android:theme="@android:style/Theme.NoDisplay"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:windowSoftInputMode="stateHidden" android:windowSoftInputMode="stateHidden"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"> android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="{{ manifest_package }}.ADDBOOKMARK" /> <action android:name="{{ manifest_package }}.ADDBOOKMARK" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
...@@ -655,7 +656,8 @@ by a child template that "extends" this file. ...@@ -655,7 +656,8 @@ by a child template that "extends" this file.
<activity android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity" <activity android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity"
android:theme="@android:style/Theme.NoDisplay" android:theme="@android:style/Theme.NoDisplay"
android:taskAffinity="" android:taskAffinity=""
android:excludeFromRecents="true"> android:excludeFromRecents="true"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="com.google.android.apps.chrome.webapps.WebappManager.ACTION_START_WEBAPP" /> <action android:name="com.google.android.apps.chrome.webapps.WebappManager.ACTION_START_WEBAPP" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
...@@ -913,7 +915,8 @@ by a child template that "extends" this file. ...@@ -913,7 +915,8 @@ by a child template that "extends" this file.
</service> </service>
<!-- Broadcast receiver that will be notified of account changes --> <!-- Broadcast receiver that will be notified of account changes -->
<receiver android:name="org.chromium.chrome.browser.services.AccountsChangedReceiver"> <receiver android:name="org.chromium.chrome.browser.services.AccountsChangedReceiver"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" /> <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
</intent-filter> </intent-filter>
...@@ -931,7 +934,8 @@ by a child template that "extends" this file. ...@@ -931,7 +934,8 @@ by a child template that "extends" this file.
<!-- Bookmarks widget --> <!-- Bookmarks widget -->
<receiver android:name="com.google.android.apps.chrome.appwidget.bookmarks.BookmarkThumbnailWidgetProvider" <receiver android:name="com.google.android.apps.chrome.appwidget.bookmarks.BookmarkThumbnailWidgetProvider"
android:label="@string/bookmark_widget_title"> android:label="@string/bookmark_widget_title"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name=".BOOKMARK_APPWIDGET_UPDATE" /> <action android:name=".BOOKMARK_APPWIDGET_UPDATE" />
...@@ -949,7 +953,8 @@ by a child template that "extends" this file. ...@@ -949,7 +953,8 @@ by a child template that "extends" this file.
<!-- Search widget --> <!-- Search widget -->
<receiver <receiver
android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider" android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider"
android:label="@string/search_widget_title"> android:label="@string/search_widget_title"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter> </intent-filter>
......
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