summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-03-23 15:57:50 -0700
committerAshwini Oruganti <ashfall@google.com>2020-03-23 15:57:50 -0700
commitd8993dc419ab43bf1961d733be1574266d1a797d (patch)
tree61872b98fb29b651c1829d89f1f2360a55be56bd
parentf3d46ceeecd71c5555939f32643c18c78ae7909f (diff)
downloadSpareParts-d8993dc419ab43bf1961d733be1574266d1a797d.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: I68bc68f0313b4a8fbd5acb1480470d990bea5aa7
-rw-r--r--AndroidManifest.xml32
1 files changed, 16 insertions, 16 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index e311197..32b9114 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -15,30 +15,30 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.spare_parts">
- <uses-permission android:name="android.permission.SET_ANIMATION_SCALE" />
- <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
- <uses-permission android:name="android.permission.WRITE_SETTINGS" />
-
+ package="com.android.spare_parts">
+ <uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/>
+ <uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/>
+ <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
+
<application android:label="@string/app_label"
- android:icon="@mipmap/app_icon">
+ android:icon="@mipmap/app_icon">
- <activity
- android:name="SpareParts"
- android:enabled="false">
+ <activity android:name="SpareParts"
+ android:enabled="false"
+ android:exported="true">
<intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.DEFAULT" />
- <category android:name="android.intent.category.LAUNCHER" />
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <receiver
- android:name="Enabler">
+ <receiver android:name="Enabler"
+ android:exported="true">
<intent-filter>
- <action android:name="android.intent.action.ADVANCED_SETTINGS" />
+ <action android:name="android.intent.action.ADVANCED_SETTINGS"/>
</intent-filter>
</receiver>
-
+
</application>
</manifest>