diff options
author | Ashwini Oruganti <ashfall@google.com> | 2020-03-23 15:56:59 -0700 |
---|---|---|
committer | Ashwini Oruganti <ashfall@google.com> | 2020-03-23 15:56:59 -0700 |
commit | 21da265a7bdd7d160830583e47861c59ba9538e2 (patch) | |
tree | 6a82cbd78a6354f6c13ac509c2f125f8a667a47a | |
parent | 9a077af94ced8144ec87ec758c378da9b30274fa (diff) | |
download | SoundRecorder-21da265a7bdd7d160830583e47861c59ba9538e2.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: Ibb2243b6b635a6d8a4c81ae8681315a501d6fa5e
-rw-r--r-- | AndroidManifest.xml | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 11d9f6e..9115531 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -15,28 +15,29 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.android.soundrecorder"> + package="com.android.soundrecorder"> - <original-package android:name="com.android.soundrecorder" /> + <original-package android:name="com.android.soundrecorder"/> - <uses-permission android:name="android.permission.RECORD_AUDIO" /> - <uses-permission android:name="android.permission.INTERNET" /> - <uses-permission android:name="android.permission.WAKE_LOCK" /> - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> + <uses-permission android:name="android.permission.RECORD_AUDIO"/> + <uses-permission android:name="android.permission.INTERNET"/> + <uses-permission android:name="android.permission.WAKE_LOCK"/> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <application android:label="@string/app_name" - android:icon="@drawable/ic_launcher_soundrecorder" - android:usesCleartextTraffic="false"> + android:icon="@drawable/ic_launcher_soundrecorder" + android:usesCleartextTraffic="false"> <activity android:name="SoundRecorder" - android:configChanges="orientation|screenSize|keyboardHidden" - android:screenOrientation="unspecified" - android:clearTaskOnLaunch="true" - android:theme="@style/Theme.SoundRecorder"> + android:configChanges="orientation|screenSize|keyboardHidden" + android:screenOrientation="unspecified" + android:clearTaskOnLaunch="true" + android:theme="@style/Theme.SoundRecorder" + android:exported="true"> <intent-filter> - <action android:name="android.intent.action.MAIN" /> + <action android:name="android.intent.action.MAIN"/> </intent-filter> <intent-filter> - <action android:name="android.provider.MediaStore.RECORD_SOUND" /> - <category android:name="android.intent.category.DEFAULT" /> + <action android:name="android.provider.MediaStore.RECORD_SOUND"/> + <category android:name="android.intent.category.DEFAULT"/> </intent-filter> </activity> </application> |