summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-05-20 19:20:49 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-20 19:20:49 +0000
commitf4176165af2abff5f867206a1a8c7925977638c3 (patch)
tree6259701826ebab20f5c66fa50c6b04ff5f58c32b
parentc7952bab7ab6127649d0f4e2d9d67f4af014fb82 (diff)
parent494e172c30d29c8385f16d947d5d0edf6ddb70c5 (diff)
downloadSampleLocationAttribution-f4176165af2abff5f867206a1a8c7925977638c3.tar.gz
Add an exported flag in manifest am: ef1a285ed6 am: e2f9e07547 am: 494e172c30
Change-Id: I0e41cf96747402cc2286c17f9e91299e2643b960
-rw-r--r--AndroidManifest.xml39
1 files changed, 21 insertions, 18 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 04029ca..c6acaf6 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -14,32 +14,35 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.example.android.locationattribution">
+ package="com.example.android.locationattribution">
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
- <!-- Requires permission "Allow all the time" and not just "Allow only while the app is in use" -->
- <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+ <!-- Requires permission "Allow all the time"
+ and not just "Allow only while the app is in use"
+ -->
+ <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
- <application
- android:allowBackup="true"
- android:icon="@mipmap/ic_launcher"
- android:label="@string/app_name"
- android:roundIcon="@mipmap/ic_launcher_round"
- android:supportsRtl="true"
- android:theme="@style/AppTheme">
- <activity android:name=".MainActivity">
+ <application android:allowBackup="true"
+ android:icon="@mipmap/ic_launcher"
+ android:label="@string/app_name"
+ android:roundIcon="@mipmap/ic_launcher_round"
+ android:supportsRtl="true"
+ android:theme="@style/AppTheme">
+ <activity android:name=".MainActivity"
+ 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>
<intent-filter>
- <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
- <category android:name="android.intent.category.DEFAULT" />
+ <action android:name="android.intent.action.APPLICATION_PREFERENCES"/>
+ <category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<intent-filter>
- <action android:name="com.example.android.locationattribution.intent.action.NON_FRAMEWORK_LOCATION" />
- <category android:name="android.intent.category.DEFAULT" />
+ <action android:name="com.example.android.locationattribution.intent.action.NON_FRAMEWORK_LOCATION"/>
+ <category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
</application>