forked from skullone/android_firewall
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
157 lines (144 loc) · 6.69 KB
/
Copy pathAndroidManifest.xml
File metadata and controls
157 lines (144 loc) · 6.69 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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jtschohl.androidfirewall"
android:installLocation="internalOnly"
android:versionCode="231"
android:versionName="2.3.1" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<!--
Boot completed permission is for applying iptables/ip6tables after a reboot. iptables/ip6tables is not persistent so a reboot
wipes it out
-->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" >
</uses-permission>
<!-- Access Network State is used to check if the device is roaming. -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" >
</uses-permission>
<!-- Write external storage is for exporting app rules -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" >
</uses-permission>
<!-- Announces access to Superuser for added security in Koush's (ChainsDD and Chainfire to do the same) Superuser -->
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" >
</uses-permission>
<!-- The following permissions are needed for the new LAN support in order to access the subnets and get the address ranges -->
<uses-permission android:name="android.permission.INTERNET" ></uses-permission>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
<application
android:hardwareAccelerated="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/Theme.Sherlock" >
<activity
android:name=".MainActivity"
android:configChanges="keyboardHidden|orientation|screenSize|keyboard|locale"
android:label="@string/app_name"
android:windowSoftInputMode="stateHidden" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".CustomScriptActivity" />
<activity android:name=".RulesDialog" />
<activity android:name=".ExportRulesDialog" />
<activity android:name=".DeleteRulesDialog" />
<activity android:name=".SaveProfileDialog" />
<activity android:name=".SaveSettingsToProfile" />
<activity android:name=".LoadProfile" />
<activity android:name=".EditProfileNames" />
<activity android:name=".UserSettings" />
<activity android:name=".showLog" />
<activity android:name=".showRules" />
<activity android:name=".HelpDialog" />
<activity
android:name=".WidgetActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<service android:name="com.jtschohl.androidfirewall.setRulesOnBootService" >
</service>
<service android:name="com.jtschohl.androidfirewall.InterfaceIntent"></service>
<service android:name="com.jtschohl.androidfirewall.RootShell"></service>
<service android:name="com.jtschohl.androidfirewall.NflogService"></service>
<receiver
android:name="BootBroadcast"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" >
</action>
</intent-filter>
</receiver>
<receiver android:name="isMediaScanning" >
<intent-filter>
<action android:name="android.intent.action.MEDIA_SCANNER_FINISHED" >
</action>
<data android:scheme="file" >
</data>
</intent-filter>
</receiver>
<receiver android:name="com.jtschohl.androidfirewall.CheckForIfaceChange" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<receiver android:name="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="StatusWidget"
android:label="@string/statuswidget" >
<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="com.jtschohl.androidfirewall.intent.action.STATUS_CHANGED" />
<action android:name="com.jtschohl.androidfirewall.intent.action.TOGGLE_REQUEST" />
</intent-filter>
</receiver>
<receiver
android:name="SimpleWidget"
android:label="@string/simplewidget" >
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/simplewidget" />
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.jtschohl.androidfirewall.intent.action.STATUS_CHANGED" />
<action android:name="com.jtschohl.androidfirewall.intent.action.TOGGLE_REQUEST" />
</intent-filter>
</receiver>
<activity
android:name=".plugin.EditActivity"
android:exported="true"
android:icon="@drawable/icon"
android:label="@string/tasker_name"
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="adjustResize" >
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.EDIT_SETTING" />
</intent-filter>
</activity>
<receiver
android:name=".plugin.FireReceiver"
android:exported="true"
android:process=":background" >
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
</intent-filter>
</receiver>
</application>
</manifest>