diff options
author | Ashwini Oruganti <ashfall@google.com> | 2020-03-18 15:46:39 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@google.com> | 2020-03-23 18:34:09 +0000 |
commit | e178c24db3abb8d1ebaba5052b05c99204dc6c88 (patch) | |
tree | b924d8b82d314091dd19dce280b4df3179cdf197 /tests/SystemUIDemoModeController | |
parent | ed91e9135b957debeeb18b3267c2761912101ff5 (diff) |
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: I4457ff2bd466a4c56fed2570e110f251031c2385
Diffstat (limited to 'tests/SystemUIDemoModeController')
-rw-r--r-- | tests/SystemUIDemoModeController/AndroidManifest.xml | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/tests/SystemUIDemoModeController/AndroidManifest.xml b/tests/SystemUIDemoModeController/AndroidManifest.xml index 2e97932df525..5feb4acf259d 100644 --- a/tests/SystemUIDemoModeController/AndroidManifest.xml +++ b/tests/SystemUIDemoModeController/AndroidManifest.xml @@ -15,23 +15,21 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.example.android.demomodecontroller" - android:versionCode="1" - android:versionName="0.1" > + package="com.example.android.demomodecontroller" + android:versionCode="1" + android:versionName="0.1"> - <uses-sdk - android:minSdkVersion="19" - android:targetSdkVersion="19" /> + <uses-sdk android:minSdkVersion="19" + android:targetSdkVersion="19"/> - <application - android:allowBackup="false" - android:label="@string/app_name" > - <activity - android:name=".DemoModeController" > + <application android:allowBackup="false" + android:label="@string/app_name"> + <activity android:name=".DemoModeController" + 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> </application> |