• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (c) 2012 Google Inc.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20        package="com.android.location.fused"
21        coreApp="true"
22        android:sharedUserId="android.uid.system">
23
24    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
25    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
26    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
27    <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />
28    <uses-permission android:name="android.permission.INSTALL_LOCATION_PROVIDER" />
29    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
30    <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
31    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
32
33    <attribution android:tag="FusedOverlayService" android:label="@string/fused_overlay_service"/>
34    <attribution android:tag="GnssOverlayService" android:label="@string/gnss_overlay_service"/>
35
36    <application
37            android:label="@string/app_label"
38            android:process="system"
39            android:defaultToDeviceProtectedStorage="true"
40            android:directBootAware="true">
41
42        <uses-library android:name="com.android.location.provider" />
43
44        <!-- Fused Location Service that LocationManagerService binds to.
45             LocationManagerService will bind to the service with the highest
46             version. -->
47        <service android:name="com.android.location.fused.FusedLocationService"
48                 android:exported="false"
49                 android:permission="android.permission.WRITE_SECURE_SETTINGS">
50           <intent-filter>
51               <action android:name="com.android.location.service.FusedLocationProvider" />
52           </intent-filter>
53           <meta-data android:name="serviceVersion" android:value="0" />
54           <meta-data android:name="serviceIsMultiuser" android:value="true" />
55        </service>
56
57        <!-- GNSS overlay Service that LocationManagerService binds to.
58             LocationManagerService will bind to the service with the highest
59             version. -->
60        <service android:name="com.android.location.gnss.GnssOverlayLocationService"
61                 android:exported="false">
62           <intent-filter>
63               <action android:name="android.location.provider.action.GNSS_PROVIDER" />
64           </intent-filter>
65           <meta-data android:name="serviceVersion" android:value="0" />
66           <meta-data android:name="serviceIsMultiuser" android:value="true" />
67        </service>
68    </application>
69</manifest>
70