xref: /aosp_15_r20/frameworks/base/tests/LocationTracker/AndroidManifest.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1*d57664e9SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*d57664e9SAndroid Build Coastguard Worker
3*d57664e9SAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
4*d57664e9SAndroid Build Coastguard Worker     package="com.android.locationtracker">
5*d57664e9SAndroid Build Coastguard Worker
6*d57664e9SAndroid Build Coastguard Worker    <!-- Permissions for the Location Service -->
7*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
8*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
9*d57664e9SAndroid Build Coastguard Worker
10*d57664e9SAndroid Build Coastguard Worker    <!--  Permission for wifi -->
11*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
12*d57664e9SAndroid Build Coastguard Worker
13*d57664e9SAndroid Build Coastguard Worker    <!-- give the location tracker ability to induce device insomnia -->
14*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.WAKE_LOCK"/>
15*d57664e9SAndroid Build Coastguard Worker
16*d57664e9SAndroid Build Coastguard Worker    <!--  Permission for SD card -->
17*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
18*d57664e9SAndroid Build Coastguard Worker
19*d57664e9SAndroid Build Coastguard Worker    <application android:label="@string/app_label">
20*d57664e9SAndroid Build Coastguard Worker        <activity android:name="TrackerActivity"
21*d57664e9SAndroid Build Coastguard Worker             android:label="Location Tracker"
22*d57664e9SAndroid Build Coastguard Worker             android:exported="true">
23*d57664e9SAndroid Build Coastguard Worker            <intent-filter>
24*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
25*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.LAUNCHER"/>
26*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
27*d57664e9SAndroid Build Coastguard Worker        </activity>
28*d57664e9SAndroid Build Coastguard Worker        <service android:name=".TrackerService"/>
29*d57664e9SAndroid Build Coastguard Worker        <activity android:label="@string/settings_menu"
30*d57664e9SAndroid Build Coastguard Worker             android:name="SettingsActivity"/>
31*d57664e9SAndroid Build Coastguard Worker        <provider android:name=".data.TrackerProvider"
32*d57664e9SAndroid Build Coastguard Worker             android:authorities="com.android.locationtracker"/>
33*d57664e9SAndroid Build Coastguard Worker    </application>
34*d57664e9SAndroid Build Coastguard Worker
35*d57664e9SAndroid Build Coastguard Worker</manifest>
36