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
This commit is contained in:
committed by
Jeff Sharkey
parent
ed91e9135b
commit
e178c24db3
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user