-
Notifications
You must be signed in to change notification settings - Fork 17
/
AndroidManifest.xml
executable file
·122 lines (106 loc) · 4.5 KB
/
AndroidManifest.xml
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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tobykurien.batteryfu"
android:installLocation="auto"
android:versionCode="48"
android:versionName="1.48" >
<uses-sdk
android:minSdkVersion="5"
android:targetSdkVersion="10" />
<uses-feature
android:name="android.hardware.wifi"
android:required="false" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_APN_SETTINGS" />
<uses-permission android:name="android.permission.BATTERY_STATS" />
<application
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/Main">
<activity
android:name=".BatteryFu"
android:configChanges="orientation|keyboardHidden"
android:label="@string/app_name" >
</activity>
<activity
android:name=".ModeSelect"
android:label="@string/app_name"
android:theme="@style/Main.Dialog" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".BatteryMinder"
android:label="@string/title_battery_minder"
android:theme="@style/Main" >
</activity>
<!-- The data toggling receiver -->
<receiver
android:name=".DataToggler">
<intent-filter>
<action android:name="batteryfu.intent.action.TOGGLE" />
<data android:scheme="batteryfu" />
<data android:scheme="nightmode" />
<data android:scheme="travelmode" />
<data android:scheme="standardmode" />
<data android:scheme="offlinemode" />
<data android:scheme="onlinemode" />
<data android:scheme="sync" />
<data android:scheme="data" />
</intent-filter>
</receiver>
<!-- General receiver for Android intents -->
<receiver android:name=".GeneralReceiver" >
<intent-filter>
<action android:name="android.intent.action.BATTERY_LOW" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
</intent-filter>
</receiver>
<!-- Widget -->
<receiver
android:name=".ToggleWidget"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<!-- Broadcast Receiver that will also process our self created action -->
<action android:name="com.tobykurien.batteryfu.ToggleWidget.ACTION_WIDGET_RECEIVER" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/toggle_widget_provider" />
</receiver>
<service android:name=".ScreenService" >
</service>
<service android:name=".DataService">
</service>
</application>
</manifest>