• 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.INSTALL_LOCATION_PROVIDER" />
27    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
28
29    <application
30            android:label="@string/app_label"
31            android:process="system"
32            android:defaultToDeviceProtectedStorage="true"
33            android:directBootAware="true">
34
35        <uses-library android:name="com.android.location.provider" />
36
37        <!-- Fused Location Service that LocationManagerService binds to.
38             LocationManagerService will bind to the service with the highest
39             version. -->
40        <service android:name="com.android.location.fused.FusedLocationService"
41                 android:exported="true"
42                 android:permission="android.permission.WRITE_SECURE_SETTINGS">
43           <intent-filter>
44               <action android:name="com.android.location.service.FusedLocationProvider" />
45           </intent-filter>
46           <meta-data android:name="serviceVersion" android:value="0" />
47           <meta-data android:name="serviceIsMultiuser" android:value="true" />
48        </service>
49    </application>
50</manifest>
51