aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/AndroidManifest.xml
blob: 874bc91b57d63fd0defbe2f0e08c2e635ff5486b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?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="moe.yuuta.workmode">

    <permission android:name="${applicationId}.ACCESS"
                android:protectionLevel="signature" />
    <uses-permission android:name="${applicationId}.ACCESS" />

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="com.android.vending.CHECK_LICENSE" />

    <application
        android:name=".App"
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher_workmode"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        tools:ignore="GoogleAppIndexingWarning">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".MoreDetailsActivity"
            android:label="MoreDetails"
            android:noHistory="true"
            android:permission="android.permission.SEND_SHOW_SUSPENDED_APP_DETAILS">
            <intent-filter>
                <action android:name="android.intent.action.SHOW_SUSPENDED_APP_DETAILS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity android:name=".ApplicationPickerActivity"
            android:label="@string/add" />
        <service
            android:name=".suspend.SuspendTile"
            android:icon="@drawable/ic_work_24dp"
            android:label="@string/work"
            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
            <intent-filter>
                <action
                    android:name="android.service.quicksettings.action.QS_TILE"/>
            </intent-filter>
            <meta-data
                android:name="android.service.quicksettings.ACTIVE_TILE"
                android:value="true" />
        </service>
        <provider
            android:name="androidx.core.content.FileProvider"
            android:authorities="${applicationId}.fileprovider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/filepaths" />
        </provider>
        <meta-data
            android:name="io.fabric.ApiKey"
            android:value="${fabricKey}" />
    </application>
</manifest>