<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-permission android:name="android.permission.INTERNET"/>
    <application
            android:icon="@mipmap/ic_launcher"
            android:label="Effective Office Tablet"
            android:name=".App"
            android:theme="@android:style/Theme.Material.NoActionBar"
            android:lockTaskMode="if_whitelisted">
        <activity
                android:name=".AppActivity"
                android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
                android:launchMode="singleInstance"
                android:windowSoftInputMode="adjustResize"
                android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <receiver
                android:name=".AdminReceiver"
                android:exported="true"
                android:permission="android.permission.BIND_DEVICE_ADMIN">
            <meta-data
                    android:name="android.app.device_admin"
                    android:resource="@xml/device_admin_receiver" />
            <intent-filter>
                <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
                <action android:name="android.intent.action.PROFILE_PROVISIONING_COMPLETE" />
            </intent-filter>
        </receiver>
        <service
                android:name=".ServerMessagingService"
                android:exported="true">
            <intent-filter>
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
            </intent-filter>
        </service>
    </application>

</manifest>