Add an exported flag in manifest

With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for S+. This change adds the value reflecting the previous
default to the manifest.

These changes were made using an automated tool, the xml file may be
reformatted slightly creating a larger diff. The only "real" change is
the addition of "android:exported" to activities, services, and
receivers that have one or more intent-filters.

Bug: 150232615
Test: TH
Exempt-From-Owner-Approval: mechanical refactoring
Change-Id: I878adb9108c95f06ddd059b23a542b61210edfa4
This commit is contained in:
Ashwini Oruganti
2020-05-20 14:42:18 -07:00
parent ab3ac85bc9
commit fd9721f1af
2 changed files with 194 additions and 18 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -31,6 +31,7 @@
<application>
<uses-library android:name="android.test.runner" />
<activity android:name="com.android.settings.tests.BluetoothRequestPermissionTest"
android:exported="true"
android:label="Bluetooth Perm Test" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -38,7 +39,8 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="Operator" android:label="Operator Hook Test" >
<activity android:name="Operator" android:label="Operator Hook Test"
android:exported="true">
<intent-filter>
<action android:name="com.android.settings.OPERATOR_APPLICATION_SETTING" />
</intent-filter>
@@ -46,7 +48,8 @@
<meta-data android:name="com.android.settings.summary" android:resource="@string/operator_settings_summary" />
<meta-data android:name="com.android.settings.icon" android:resource="@drawable/ic_settings_applications" />
</activity>
<activity android:name="Manufacturer" android:label="Manufacturer Hook Test" >
<activity android:name="Manufacturer" android:label="Manufacturer Hook Test"
android:exported="true">
<intent-filter>
<action android:name="com.android.settings.MANUFACTURER_APPLICATION_SETTING" />
</intent-filter>
@@ -55,7 +58,8 @@
<meta-data android:name="com.android.settings.icon" android:resource="@drawable/ic_settings_applications" />
</activity>
<service android:name="com.android.settings.accounts.TestAuthService">
<service android:name="com.android.settings.accounts.TestAuthService"
android:exported="true">
<intent-filter>
<action android:name="android.accounts.AccountAuthenticator" />
</intent-filter>