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: Idc43e262fd2911e19f0bcd20add29e4c3392d3da
diff --git a/tools/EditTextVariations/AndroidManifest.xml b/tools/EditTextVariations/AndroidManifest.xml
index 96c244b..b5a27b9 100644
--- a/tools/EditTextVariations/AndroidManifest.xml
+++ b/tools/EditTextVariations/AndroidManifest.xml
@@ -14,34 +14,27 @@
limitations under the License.
-->
-<manifest
- xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.inputmethod.tools.edittextvariations"
- android:versionName="0.67"
- android:versionCode="67"
->
- <supports-screens android:resizeable="true" />
- <uses-sdk
- android:targetSdkVersion="27"
- android:minSdkVersion="11" />
- <application
- android:icon="@drawable/ic_launcher"
- android:label="@string/app_name"
- android:allowBackup="false"
- >
- <activity
- android:name=".EditTextVariations"
- android:windowSoftInputMode="stateHidden|adjustPan"
- android:theme="@style/defaultActivityTheme"
- android:label="@string/app_name"
- >
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.inputmethod.tools.edittextvariations"
+ android:versionName="0.67"
+ android:versionCode="67">
+ <supports-screens android:resizeable="true"/>
+ <uses-sdk android:targetSdkVersion="27"
+ android:minSdkVersion="11"/>
+ <application android:icon="@drawable/ic_launcher"
+ android:label="@string/app_name"
+ android:allowBackup="false">
+ <activity android:name=".EditTextVariations"
+ android:windowSoftInputMode="stateHidden|adjustPan"
+ android:theme="@style/defaultActivityTheme"
+ android:label="@string/app_name"
+ android:exported="true">
<intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <receiver
- android:name=".NotificationBroadcastReceiver"
- android:exported="false" />
+ <receiver android:name=".NotificationBroadcastReceiver"
+ android:exported="false"/>
</application>
</manifest>