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 @@
<activity # DIFF-ANCHOR: a208e726
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"
android:excludeFromRecents="true"
android:exported="true"
android:name="org.chromium.chrome.browser.bookmarks.BookmarkAddActivity"
android:theme="@android:style/Theme.NoDisplay"
android:windowSoftInputMode="stateHidden">
......@@ -587,6 +588,7 @@
</activity> # DIFF-ANCHOR: 5e467d8a
<activity # DIFF-ANCHOR: aea75380
android:excludeFromRecents="true"
android:exported="true"
android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity"
android:taskAffinity=""
android:theme="@android:style/Theme.NoDisplay">
......@@ -857,6 +859,7 @@
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
</provider> # DIFF-ANCHOR: 6e306896
<receiver # DIFF-ANCHOR: 7d221226
android:exported="true"
android:label="@string/bookmark_widget_title"
android:name="com.google.android.apps.chrome.appwidget.bookmarks.BookmarkThumbnailWidgetProvider">
<intent-filter> # DIFF-ANCHOR: 1ebe78e9
......@@ -948,6 +951,7 @@
android:name="org.chromium.chrome.browser.omaha.UpdateNotificationController$UpdateNotificationReceiver">
</receiver> # DIFF-ANCHOR: 40a69297
<receiver # DIFF-ANCHOR: 3664f7eb
android:exported="true"
android:label="@string/search_widget_title"
android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider">
<intent-filter> # DIFF-ANCHOR: 4ed161a4
......@@ -964,11 +968,13 @@
</intent-filter> # DIFF-ANCHOR: fc048873
<meta-data android:name="android.appwidget.provider" android:resource="@xml/search_widget_info"/>
</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
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED"/>
</intent-filter> # DIFF-ANCHOR: 6a188b57
</receiver> # DIFF-ANCHOR: 4de2a279
</receiver> # DIFF-ANCHOR: cdc9c912
<receiver # DIFF-ANCHOR: 93e73992
android:exported="true"
android:name="org.chromium.chrome.browser.sharing.click_to_call.ClickToCallMessageHandler$PhoneUnlockedReceiver">
......
......@@ -170,6 +170,7 @@
<activity # DIFF-ANCHOR: a208e726
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"
android:excludeFromRecents="true"
android:exported="true"
android:name="org.chromium.chrome.browser.bookmarks.BookmarkAddActivity"
android:theme="@android:style/Theme.NoDisplay"
android:windowSoftInputMode="stateHidden">
......@@ -560,6 +561,7 @@
</activity> # DIFF-ANCHOR: 5e467d8a
<activity # DIFF-ANCHOR: aea75380
android:excludeFromRecents="true"
android:exported="true"
android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity"
android:taskAffinity=""
android:theme="@android:style/Theme.NoDisplay">
......@@ -797,6 +799,7 @@
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
</provider> # DIFF-ANCHOR: 6e306896
<receiver # DIFF-ANCHOR: 7d221226
android:exported="true"
android:label="@string/bookmark_widget_title"
android:name="com.google.android.apps.chrome.appwidget.bookmarks.BookmarkThumbnailWidgetProvider">
<intent-filter> # DIFF-ANCHOR: 1ebe78e9
......@@ -888,6 +891,7 @@
android:name="org.chromium.chrome.browser.omaha.UpdateNotificationController$UpdateNotificationReceiver">
</receiver> # DIFF-ANCHOR: 40a69297
<receiver # DIFF-ANCHOR: 3664f7eb
android:exported="true"
android:label="@string/search_widget_title"
android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider">
<intent-filter> # DIFF-ANCHOR: 4ed161a4
......@@ -904,11 +908,13 @@
</intent-filter> # DIFF-ANCHOR: fc048873
<meta-data android:name="android.appwidget.provider" android:resource="@xml/search_widget_info"/>
</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
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED"/>
</intent-filter> # DIFF-ANCHOR: 6a188b57
</receiver> # DIFF-ANCHOR: 4de2a279
</receiver> # DIFF-ANCHOR: cdc9c912
<receiver # DIFF-ANCHOR: 93e73992
android:exported="true"
android:name="org.chromium.chrome.browser.sharing.click_to_call.ClickToCallMessageHandler$PhoneUnlockedReceiver">
......
......@@ -604,7 +604,8 @@ by a child template that "extends" this file.
android:theme="@android:style/Theme.NoDisplay"
android:excludeFromRecents="true"
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>
<action android:name="{{ manifest_package }}.ADDBOOKMARK" />
<category android:name="android.intent.category.DEFAULT" />
......@@ -655,7 +656,8 @@ by a child template that "extends" this file.
<activity android:name="org.chromium.chrome.browser.webapps.WebappLauncherActivity"
android:theme="@android:style/Theme.NoDisplay"
android:taskAffinity=""
android:excludeFromRecents="true">
android:excludeFromRecents="true"
android:exported="true">
<intent-filter>
<action android:name="com.google.android.apps.chrome.webapps.WebappManager.ACTION_START_WEBAPP" />
<category android:name="android.intent.category.DEFAULT" />
......@@ -913,7 +915,8 @@ by a child template that "extends" this file.
</service>
<!-- 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>
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
</intent-filter>
......@@ -931,7 +934,8 @@ by a child template that "extends" this file.
<!-- Bookmarks widget -->
<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>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name=".BOOKMARK_APPWIDGET_UPDATE" />
......@@ -949,7 +953,8 @@ by a child template that "extends" this file.
<!-- Search widget -->
<receiver
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>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</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