forked from darshan-/Battery-Indicator-Pro
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroidManifest.xml
140 lines (126 loc) · 4.42 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.darshancomputing.BatteryIndicatorPro"
xmlns:tools="http://schemas.android.com/tools"
android:sharedUserId="com.darshancomputing.BatteryIndicatorPro"
android:versionCode="100622"
android:versionName="161"
>
<!-- Permissions now considered "normal", automatically granted on API 23+ -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" /><!-- Required on API 28+ -->
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"
/>
<application
android:label="@string/app_full_name"
android:icon="@drawable/battery"
android:hardwareAccelerated="true"
android:process="com.darshancomputing.BatteryBotPro"
android:allowBackup="false"
android:resizeableActivity="true"
android:supportsRtl="true"
>
<!--
Temporarily put these two lines in <application> above to enable debugging of release build:
android:debuggable="true"
tools:ignore="HardcodedDebugMode"
-->
<activity
android:name=".BatteryInfoActivity"
android:label="@string/app_full_name"
android:theme="@style/bi_main_theme"
android:stateNotNeeded="true"
android:launchMode="singleTask"
android:exported="true"
>
<intent-filter android:label="@string/app_launcher_name">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".SettingsActivity"
android:theme="@style/bi_settings_theme"
android:excludeFromRecents="true"
android:exported="false"
/>
<activity
android:name=".AlarmEditActivity"
android:theme="@style/bi_settings_theme"
android:excludeFromRecents="true"
android:exported="false"
/>
<activity
android:name=".SettingsHelpActivity"
android:theme="@style/bi_help_theme"
android:stateNotNeeded="true"
android:excludeFromRecents="true"
android:exported="false"
/>
<activity
android:name=".HelpActivity"
android:theme="@style/bi_help_theme"
android:stateNotNeeded="true"
android:excludeFromRecents="true"
android:exported="false"
/>
<service
android:name=".BatteryInfoService"
android:process="com.darshancomputing.BatteryBotPro.BIS"
android:icon="@drawable/battery"
/>
<receiver
android:name=".BootCompletedReceiver"
android:enabled="true"
android:exported="true"
android:process="com.darshancomputing.BatteryBotPro.BIS"
>
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
<!--data android:scheme="package" android:path="com.darshancomputing.BatteryIndicatorPro" /-->
</intent-filter>
</receiver>
<receiver
android:name="BatteryInfoAppWidgetProvider"
android:enabled="true"
android:exported="true"
android:process="com.darshancomputing.BatteryBotPro.BIS"
android:label="@string/circle_widget"
>
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/circle_app_widget_info"
/>
</receiver>
<receiver
android:name="FullAppWidgetProvider"
android:enabled="true"
android:exported="true"
android:process="com.darshancomputing.BatteryBotPro.BIS"
android:label="@string/full_widget"
>
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/full_app_widget_info"
/>
</receiver>
</application>
</manifest>