<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="btools.routingapp">
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
        tools:ignore="ScopedStorage" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

    <application
        android:icon="@mipmap/ic_launcher"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:label="@string/app_name"
        android:allowBackup="false">
        <activity android:name=".BRouterActivity"
            android:label="@string/app_name"
            android:exported="true"
            android:screenOrientation="unspecified" 
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".BInstallerActivity"
            android:label="@string/app_name"
            android:screenOrientation="landscape"
            android:launchMode="singleTask"
            android:exported="true"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
        </activity>
        <service
            android:exported="true"
            android:name=".BRouterService"
            android:enabled="true"
            android:process=":brouter_service" />
        <service android:name="btools.routingapp.DownloadService"
            android:label="Download Service"
            android:icon="@mipmap/ic_launcher"
            android:enabled="true"
            />

    </application>
</manifest>