AndroidManifest.xml 6.16 KB
Newer Older
Daniel Wolf's avatar
Daniel Wolf committed
1
2
3
4
5
<?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="com.frostnerd.smokescreen">

6
7
8
9
10
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
    <uses-permission android:name="android.permission.VIBRATE"/>
Daniel Wolf's avatar
Daniel Wolf committed
11
12

    <application
13
            android:name=".SmokeScreen"
Daniel Wolf's avatar
Daniel Wolf committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
            android:allowBackup="true"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/app_name"
            android:roundIcon="@mipmap/ic_launcher_round"
            android:supportsRtl="true"
            android:theme="@style/AppTheme_Mono"
            tools:ignore="GoogleAppIndexingWarning">
        <activity android:name=".activity.MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
28
29
        <activity
                android:name=".activity.ServerImportActivity"
30
31
                android:autoRemoveFromRecents="true"
                android:noHistory="true"
32
                android:theme="@style/Theme.AppCompat.Light.Dialog.Alert">
33
34
35
36
37
38
39
40
41
42
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <data
                        android:mimeType="*/*"
                        android:scheme="content"
                        android:pathPattern=".*\\.dohserver"
                        tools:ignore="AppLinkUrlError"/>
            </intent-filter>
            <intent-filter>
43
44
45
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <data
46
47
                        android:mimeType="*/*"
                        android:scheme="file"
48
                        android:pathPattern=".*\\.dohserver"
49
                        tools:ignore="AppLinkUrlError"/>
50
            </intent-filter>
51

52
        </activity>
53
54
55
56
        <activity
                android:name=".activity.BackgroundVpnConfigureActivity"
                android:launchMode="singleInstance"
                android:theme="@style/Theme.AppCompat.Light.Dialog.Alert"/>
57
58
59
60
61
62
63
64
        <activity
                android:name=".activity.ErrorDialogActivity"
                android:autoRemoveFromRecents="true"
                android:clearTaskOnLaunch="true"
                android:excludeFromRecents="true"
                android:launchMode="singleTop"
                android:noHistory="true"
                android:process=".ErrorProcess"
65
66
67
68
69
70
71
72
73
                android:theme="@style/Theme.AppCompat.Light.Dialog.Alert"/>
        <activity
                android:name=".tasker.ConfigureActivity"
                android:exported="true"
                android:icon="@mipmap/ic_launcher"
                android:label="@string/app_name"
                android:uiOptions="splitActionBarWhenNarrow"
                android:windowSoftInputMode="adjustResize">
            <intent-filter>
74
                <action android:name="com.twofortyfouram.locale.intent.action.EDIT_SETTING"/>
75
76
            </intent-filter>
        </activity>
77

Daniel Wolf's avatar
Daniel Wolf committed
78
79
80
81
82
83
84
85
86
87
88
        <service
                android:name=".service.DnsVpnService"
                android:permission="android.permission.BIND_VPN_SERVICE"
                android:stopWithTask="false">
            <intent-filter>
                <action android:name="android.net.VpnService"/>
            </intent-filter>
            <meta-data
                    android:name="android.net.VpnService.SUPPORTS_ALWAYS_ON"
                    android:value="true"/>
        </service>
89
90
91
        <service
                android:name=".service.VpnRestartService"
                android:exported="false"/>
92
93
94
95
96
97
98
99
100
        <service
                android:name=".service.StartStopTileService"
                android:label="@string/quicksettings_start_text"
                android:icon="@drawable/ic_play"
                android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
            <intent-filter>
                <action android:name="android.service.quicksettings.action.QS_TILE"/>
            </intent-filter>
        </service>
101

102
        <receiver
103
                android:name=".receiver.AutostartReceiver"
104
105
                android:enabled="true"
                android:exported="true">
106
            <intent-filter>
107
108
                <action android:name="android.intent.action.BOOT_COMPLETED"/>
                <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED"/>
109
110
111
112
                <action android:name="android.intent.action.QUICKBOOT_POWERON"/>
                <!-- for htc -->

                <action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
113
114
115
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
116
            </intent-filter>
117
            <intent-filter>
118
119
                <action android:name="android.intent.action.PACKAGE_REPLACED"/>
                <data android:scheme="package"/>
120
            </intent-filter>
121
        </receiver>
122
123
124
125
126
        <receiver
                android:name=".tasker.FireReceiver"
                android:exported="true"
                android:process=":background">
            <intent-filter>
127
                <action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING"/>
128
129
130
            </intent-filter>
        </receiver>

131
132
133
134
135
136
137
138
139
140
        <provider
                android:authorities="com.frostnerd.smokescreen.LogZipProvider"
                android:name="androidx.core.content.FileProvider"
                android:exported="false"
                android:grantUriPermissions="true">
            <meta-data
                    android:name="android.support.FILE_PROVIDER_PATHS"
                    android:resource="@xml/log_file_paths"
                    />
        </provider>
Daniel Wolf's avatar
Daniel Wolf committed
141
142
143
    </application>

</manifest>