forked from ukanth/afwall
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
233 lines (206 loc) · 9.95 KB
/
Copy pathAndroidManifest.xml
File metadata and controls
233 lines (206 loc) · 9.95 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?xml version="1.0" encoding="utf-8"?>
<!--
* Android Manifest
* Copyright (C) 2007-2008 The Android Open Source Project
* Copyright (C) 2009-2011 Rodrigo Zechin Rosauro
* Copyright (C) 2011-2013 Umakanthan Chandran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @author Rodrigo Zechin Rosauro, Umakanthan Chandran
* @version 1.2
*/
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="dev.ukanth.ufirewall"
android:versionCode="138"
android:versionName="1.2.7-Beta" >
<!-- Android 2.2 up to 4.x -->
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<!-- Permissions -->
<!--
Allows AFWall+ to receive the ACTION_BOOT_COMPLETED that is broadcast
after the system finishes booting. If you don't request this permission,
you will not receive the broadcast at that time. Though holding this
permission does not have any security implications, it can have
a negative impact on the user experience by increasing the amount
of time it takes the system to start and allowing applications
to have themselves running without the user being aware of them.
As such, you must explicitly declare your use of this facility to make
that visible to the user.
-->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- Allows ufwall to access information about networks -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- Allows ufwall to change network connectivity state -->
<!-- <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> -->
<!-- Allows low-level access to power management -->
<!-- <uses-permission android:name="android.permission.DEVICE_POWER" /> -->
<!-- Allows ufwall to write to external storage -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- Allows access to IP configuration and tethering state -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!-- Will be default in CyanogenMod Superuser App -->
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
<!-- Screen support -->
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
<application
android:name="dev.ukanth.ufirewall.G"
android:hardwareAccelerated="false"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/Theme.AppCompat" >
<activity
android:name="dev.ukanth.ufirewall.MainActivity"
android:configChanges="orientation|keyboardHidden|screenSize|keyboard|locale"
android:hardwareAccelerated="true"
android:label="@string/app_name" >
<intent-filter>
<!--
MAIN action is a main entry point
and the LAUNCHER category says that
this entry point should be listed in
the application launcher
-->
<action android:name="android.intent.action.MAIN" />
<!-- Does we need android.intent.category.DEFAULT? -->
<category android:name="android.intent.category.DEFAULT" />
<!-- Should be displayed in the top-level launcher. -->
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="dev.ukanth.ufirewall.preferences.PreferencesActivity"
android:configChanges="orientation|keyboardHidden|screenSize|locale"
android:hardwareAccelerated="true" >
</activity>
<activity
android:name="dev.ukanth.ufirewall.HelpActivity"
android:configChanges="orientation|keyboardHidden|screenSize|locale"
android:hardwareAccelerated="true" >
</activity>
<activity android:name="dev.ukanth.ufirewall.RulesActivity" >
</activity>
<activity android:name="dev.ukanth.ufirewall.LogActivity" >
</activity>
<activity
android:name="dev.ukanth.ufirewall.widget.ToggleWidgetActivity"
android:theme="@style/Theme.Transparent" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity android:name="dev.ukanth.ufirewall.CustomScriptActivity" />
<receiver android:name="dev.ukanth.ufirewall.BootBroadcast" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<action android:name="android.intent.action.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE" />
<category android:name="android.intent.category.HOME" />
</intent-filter>
</receiver>
<receiver android:name="dev.ukanth.ufirewall.PackageBroadcast" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
<receiver android:name="dev.ukanth.ufirewall.ConnectivityChangeReceiver" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<receiver
android:name="dev.ukanth.ufirewall.StatusWidget"
android:label="@string/widget_label_status" >
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/onoff_widget" />
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="dev.ukanth.ufirewall.intent.action.STATUS_CHANGED" />
<action android:name="dev.ukanth.ufirewall.intent.action.TOGGLE_REQUEST" />
</intent-filter>
</receiver>
<receiver
android:name="dev.ukanth.ufirewall.widget.ToggleWidget"
android:label="@string/widget_label_settings" >
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/toggle_widget" />
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="dev.ukanth.ufirewall.intent.action.STATUS_CHANGED" />
<action android:name="dev.ukanth.ufirewall.intent.action.TOGGLE_REQUEST" />
</intent-filter>
</receiver>
<activity
android:name="group.pals.android.lib.ui.lockpattern.LockPatternActivity"
android:configChanges="orientation|screenSize|keyboard|keyboardHidden|locale"
android:theme="@android:style/Theme.Dialog" />
<!-- device admin -->
<!-- This is required this receiver to become device admin component. -->
<receiver
android:name="dev.ukanth.ufirewall.admin.AdminDeviceReceiver"
android:permission="android.permission.BIND_DEVICE_ADMIN" >
<meta-data
android:name="android.app.device_admin"
android:resource="@xml/device_admin" />
<intent-filter>
<!-- This action is required -->
<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
<action android:name="android.app.action.ACTION_DEVICE_ADMIN_DISABLE_REQUESTED" />
<action android:name="android.app.action.ACTION_DEVICE_ADMIN_DISABLED" />
</intent-filter>
</receiver>
<!-- Tasker/Locale Plugin -->
<activity
android:name="dev.ukanth.ufirewall.plugin.LocaleEdit"
android:exported="true"
android:icon="@drawable/icon"
android:label="AFWall+ Tasker Plugin"
android:theme="@style/Theme.Locale.Dark"
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="adjustResize"
tools:ignore="ExportedActivity" >
<!-- this Intent filter allows the plug-in to be discovered by Locale -->
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.EDIT_SETTING" />
</intent-filter>
</activity>
<receiver
android:name="dev.ukanth.ufirewall.plugin.FireReceiver"
android:exported="true"
android:process=":background"
tools:ignore="ExportedReceiver" >
<!-- this Intent filter allows the plug-in to discovered by Locale -->
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
</intent-filter>
</receiver>
<service android:name="RootShell" >
</service>
<service android:name="NflogService" >
</service>
</application>
</manifest>