summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-03-23 13:15:48 -0700
committerAshwini Oruganti <ashfall@google.com>2020-03-23 13:15:48 -0700
commit238f965bddc718856dcab6367c75a03f1281801e (patch)
treeec374d480b15a1e594d0012b50b2ebce8121e80c /AndroidManifest.xml
parenteba2cfeb735825fd433cedf46b5c15913ab58543 (diff)
downloadBasicSmsReceiver-238f965bddc718856dcab6367c75a03f1281801e.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: Ic8c751ee1180a06a5ea183276ca51a70d71ad358
Diffstat (limited to 'AndroidManifest.xml')
-rwxr-xr-xAndroidManifest.xml24
1 files changed, 13 insertions, 11 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 0be33ab..3f1712f 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -16,28 +16,30 @@
* limitations under the License.
*/
-->
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.basicsmsreceiver">
+ package="com.android.basicsmsreceiver">
- <original-package android:name="com.android.basicsmsreceiver" />
+ <original-package android:name="com.android.basicsmsreceiver"/>
- <uses-permission android:name="android.permission.RECEIVE_SMS" />
+ <uses-permission android:name="android.permission.RECEIVE_SMS"/>
<!-- Needed just for the unit tests -->
- <uses-permission android:name="android.permission.READ_PHONE_STATE" />
- <uses-permission android:name="android.permission.SEND_SMS" />
+ <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
+ <uses-permission android:name="android.permission.SEND_SMS"/>
<application android:name="BasicSmsReceiverApp"
- android:label="@string/sms_app_name"
- android:hardwareAccelerated="true">
+ android:label="@string/sms_app_name"
+ android:hardwareAccelerated="true">
<activity android:name=".DialogSmsDisplay"
- android:theme="@android:style/Theme.Material.Light.Dialog"
- android:launchMode="singleTop" />
+ android:theme="@android:style/Theme.Material.Light.Dialog"
+ android:launchMode="singleTop"/>
- <receiver android:name=".SmsMessageReceiver">
+ <receiver android:name=".SmsMessageReceiver"
+ android:exported="true">
<intent-filter>
- <action android:name="android.provider.Telephony.SMS_RECEIVED" />
+ <action android:name="android.provider.Telephony.SMS_RECEIVED"/>
</intent-filter>
</receiver>