summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-03-23 14:33:38 -0700
committerAshwini Oruganti <ashfall@google.com>2020-03-23 14:33:38 -0700
commita4f0902c7fcf464ce2ba6dab0fc788f67be1659b (patch)
treeb80879940ad0ea2b04fd9020214be0ca1a00fc1a
parent451c252993bad8bda17ae8e9224b863eca7e4668 (diff)
downloadDevCamera-a4f0902c7fcf464ce2ba6dab0fc788f67be1659b.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: Ie8a637dbe0ff536a719212c48d264e666e541e34
-rw-r--r--AndroidManifest.xml32
1 files changed, 16 insertions, 16 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 0981bc1..703495d 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,30 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.devcamera"
- android:versionCode="1"
- android:versionName="1.0" >
+ package="com.android.devcamera"
+ android:versionCode="1"
+ android:versionName="1.0">
- <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29" />
+ <uses-sdk android:minSdkVersion="21"
+ android:targetSdkVersion="29"/>
- <uses-feature android:name="android.hardware.camera.any" />
+ <uses-feature android:name="android.hardware.camera.any"/>
- <uses-permission android:name="android.permission.CAMERA" />
+ <uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
- <application
- android:allowBackup="true"
- android:icon="@mipmap/logo_devcamera_color_44in48dp"
- android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
- android:label="@string/app_name" >
- <activity
- android:screenOrientation="portrait"
- android:name=".DevCameraActivity">
+ <application android:allowBackup="true"
+ android:icon="@mipmap/logo_devcamera_color_44in48dp"
+ android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
+ android:label="@string/app_name">
+ <activity android:screenOrientation="portrait"
+ android:name=".DevCameraActivity"
+ 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>
</application>