summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-03-23 15:38:41 -0700
committerAshwini Oruganti <ashfall@google.com>2020-03-23 15:38:41 -0700
commit68978efcec260e64debd659f1522b26fdd431307 (patch)
treea0cb0494fb1b5329a8c04376b93ddb0f78480229
parent737b0d2daabf33a458ed754e045b2f0e2b65da70 (diff)
downloadOneTimeInitializer-68978efcec260e64debd659f1522b26fdd431307.tar.gz
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: I1710ca47176ff69836bf7c120c0a681faf95c492
-rw-r--r--AndroidManifest.xml21
1 files changed, 8 insertions, 13 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 18675a7..63a961c 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -14,23 +14,18 @@
limitations under the License.
-->
-<manifest
- xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.onetimeinitializer">
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.onetimeinitializer">
- <uses-permission
- android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
- <uses-permission
- android:name="com.android.launcher.permission.READ_SETTINGS"/>
- <uses-permission
- android:name="com.android.launcher.permission.WRITE_SETTINGS"/>
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
+ <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS"/>
+ <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS"/>
<application android:label="One Time Init">
- <receiver
- android:name=".OneTimeInitializerReceiver">
+ <receiver android:name=".OneTimeInitializerReceiver"
+ android:exported="true">
<intent-filter>
- <action
- android:name="android.intent.action.BOOT_COMPLETED"/>
+ <action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
</application>