blob: 04029ca8ef52b17f0de6e1d8507b2c7faf510500 [file] [log] [blame]
Anil Admal54ae2482019-04-10 17:05:30 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright 2019 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.example.android.locationattribution">
19
20 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
21 <!-- Requires permission "Allow all the time" and not just "Allow only while the app is in use" -->
22 <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
23
24 <application
25 android:allowBackup="true"
26 android:icon="@mipmap/ic_launcher"
27 android:label="@string/app_name"
28 android:roundIcon="@mipmap/ic_launcher_round"
29 android:supportsRtl="true"
30 android:theme="@style/AppTheme">
31 <activity android:name=".MainActivity">
32 <intent-filter>
33 <action android:name="android.intent.action.MAIN" />
34 <category android:name="android.intent.category.LAUNCHER" />
35 </intent-filter>
36 <intent-filter>
37 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
38 <category android:name="android.intent.category.DEFAULT" />
39 </intent-filter>
40 <intent-filter>
41 <action android:name="com.example.android.locationattribution.intent.action.NON_FRAMEWORK_LOCATION" />
42 <category android:name="android.intent.category.DEFAULT" />
43 </intent-filter>
44 </activity>
45 </application>
46</manifest>