diff options
author | Ashwini Oruganti <ashfall@google.com> | 2020-03-23 15:43:05 -0700 |
---|---|---|
committer | Ashwini Oruganti <ashfall@google.com> | 2020-03-23 15:43:05 -0700 |
commit | a79dc45e586033a0f1e02e244eaea99f4a121885 (patch) | |
tree | 16ea4589ecd243fae0360f880b08b73772189d04 | |
parent | 7623fb5bc7c81b6b1f4d0ac498a256b31ca3988a (diff) | |
download | Provision-a79dc45e586033a0f1e02e244eaea99f4a121885.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: I5f53e5c95a70acf7212b48e8d8a9d51b3fffbcdf
-rw-r--r-- | AndroidManifest.xml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 8360578..39fcdc3 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2008 The Android Open Source Project @@ -14,25 +14,26 @@ See the License for the specific language governing permissions and limitations under the License. --> + <manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.android.provision"> + package="com.android.provision"> - <original-package android:name="com.android.provision" /> + <original-package android:name="com.android.provision"/> <!-- For miscellaneous settings --> - <uses-permission android:name="android.permission.WRITE_SETTINGS" /> - <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> + <uses-permission android:name="android.permission.WRITE_SETTINGS"/> + <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> <application> <activity android:name="DefaultActivity" - android:excludeFromRecents="true"> + android:excludeFromRecents="true" + android:exported="true"> <intent-filter android:priority="1"> - <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.HOME" /> - <category android:name="android.intent.category.DEFAULT" /> - <category android:name="android.intent.category.SETUP_WIZARD" /> + <action android:name="android.intent.action.MAIN"/> + <category android:name="android.intent.category.HOME"/> + <category android:name="android.intent.category.DEFAULT"/> + <category android:name="android.intent.category.SETUP_WIZARD"/> </intent-filter> </activity> </application> </manifest> - |