<?xml version="1.0" encoding="utf-8"?>
<!--
/*
 * Copyright (C) 2022 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.android.wifi.dialog">
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"/>
    <queries>
        <intent>
            <action android:name="com.android.server.wifi.intent.action.SERVICE_WIFI_RESOURCES_APK" />
        </intent>
    </queries>

    <application
        android:enabled="true"
        android:configChanges="keyboardHidden|orientation|screenSize"
        android:supportsRtl="true"
        android:theme="@style/WifiDialogTheme">

        <!-- This is only used to identify this app by resolving the action.
             The activity is never actually triggered. -->
        <activity android:name="android.app.Activity" android:exported="true" android:enabled="true">
            <intent-filter>
                <action android:name="com.android.server.wifi.intent.action.WIFI_DIALOG_APK" />
            </intent-filter>
        </activity>>

        <activity android:name=".WifiDialogActivity"
                  android:configChanges="keyboardHidden|screenSize"
                  android:hardwareAccelerated="true"
                  android:launchMode="singleInstance"
                  android:excludeFromRecents="true"/>
    </application>
</manifest>
