<?xml version="1.0" encoding="utf-8"?><!--
  ~ SPDX-FileCopyrightText: 2020 microG Project Team
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<manifest xmlns:tools="http://schemas.android.com/tools"
    xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.BODY_SENSORS" />
    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

    <uses-permission
        android:name="android.permission.UPDATE_DEVICE_STATS"
        tools:ignore="ProtectedPermissions" />
    <uses-permission
        android:name="android.permission.UPDATE_APP_OPS_STATS"
        tools:ignore="ProtectedPermissions" />
    <uses-permission
        android:name="android.permission.WATCH_APPOPS"
        tools:ignore="ProtectedPermissions" />

    <application>

        <activity
            android:name="org.microg.gms.location.settings.LocationSettingsCheckerActivity"
            android:excludeFromRecents="true"
            android:exported="false"
            android:process=":ui"
            android:launchMode="singleTask"
            android:theme="@style/Theme.App.Translucent">
            <intent-filter android:priority="-1">
                <action android:name="com.google.android.gms.location.settings.CHECK_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity
            android:name="org.microg.gms.location.settings.GoogleLocationSettingsActivity"
            android:excludeFromRecents="true"
            android:exported="true"
            android:launchMode="singleTask"
            android:process=":ui"
            android:theme="@style/Theme.App.Translucent">
            <intent-filter>
                <action android:name="com.google.android.location.settings.GOOGLE_LOCATION_SETTINGS" />
                <action android:name="com.google.android.gms.location.settings.GOOGLE_LOCATION_SETTINGS" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity
            android:name="org.microg.gms.location.manager.AskPermissionActivity"
            android:excludeFromRecents="true"
            android:process=":ui"
            android:theme="@style/Theme.App.Translucent"
            android:exported="false" />

        <service
            android:name="org.microg.gms.location.manager.LocationManagerService"
            android:exported="true">
            <intent-filter>
                <action android:name="com.google.android.location.internal.GoogleLocationManagerService.START" />
            </intent-filter>
        </service>

        <service
            android:name="org.microg.gms.location.reporting.ReportingAndroidService"
            android:exported="true">
            <intent-filter>
                <action android:name="com.google.android.location.reporting.service.START" />
                <action android:name="com.google.android.gms.location.reporting.service.START" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </service>

        <receiver
            android:name="org.microg.gms.location.ui.ConfigurationRequiredReceiver"
            android:exported="false">
            <intent-filter>
                <action android:name="org.microg.gms.location.network.ACTION_CONFIGURATION_REQUIRED" />
            </intent-filter>
        </receiver>
    </application>
</manifest>
