diff options
author | Ashwini Oruganti <ashfall@google.com> | 2020-03-24 16:01:07 -0700 |
---|---|---|
committer | Ashwini Oruganti <ashfall@google.com> | 2020-03-24 16:01:07 -0700 |
commit | 27c234dfe9a5b8b8e90ac11a110550eafb7cdf2b (patch) | |
tree | e3f20b80d2e7468658e58643d3b764f1c8a63f82 /boottime_tools | |
parent | 8b20af65492c40293b4ab351fecbf55bc1ea8294 (diff) | |
download | extras-27c234dfe9a5b8b8e90ac11a110550eafb7cdf2b.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 future versions. 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: I273c2fa10b59183a0e3e540fbc2bb6e71fbf28a8
Diffstat (limited to 'boottime_tools')
-rw-r--r-- | boottime_tools/bootanalyze/stressfs/AndroidManifest.xml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/boottime_tools/bootanalyze/stressfs/AndroidManifest.xml b/boottime_tools/bootanalyze/stressfs/AndroidManifest.xml index 8713c511..1ea76da3 100644 --- a/boottime_tools/bootanalyze/stressfs/AndroidManifest.xml +++ b/boottime_tools/bootanalyze/stressfs/AndroidManifest.xml @@ -15,21 +15,22 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.android.car.test.stressfs"> + package="com.android.car.test.stressfs"> - <original-package android:name="com.android.car.test.stressfs" /> + <original-package android:name="com.android.car.test.stressfs"/> <uses-sdk android:minSdkVersion="25" - android:targetSdkVersion="25" /> - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> + android:targetSdkVersion="25"/> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <application android:label="Stress Filesystem" - android:directBootAware="true" - android:allowBackup="false"> + android:directBootAware="true" + android:allowBackup="false"> - <activity android:name=".WritingActivity"> + <activity android:name=".WritingActivity" + android:exported="true"> <intent-filter> - <action android:name="com.android.car.test.stressfs.START" /> + <action android:name="com.android.car.test.stressfs.START"/> </intent-filter> </activity> <service android:name=".WritingService"> |