-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
93 lines (83 loc) · 3.75 KB
/
AndroidManifest.xml
File metadata and controls
93 lines (83 loc) · 3.75 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
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: CannedShroud
SPDX-FileCopyrightText: TheParasiteProject
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.kprofiles"
android:versionCode="1"
android:versionName="1.0"
android:sharedUserId="android.uid.system">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<protected-broadcast android:name="com.android.kprofiles.battery.KPROFILE_CHANGED" />
<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:persistent="true"
android:enableOnBackInvokedCallback="true"
android:defaultToDeviceProtectedStorage="true"
android:theme="@style/Theme.SubSettingsBase.Expressive">
<receiver
android:name=".BootCompletedReceiver"
android:singleUser="true"
android:exported="true">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<activity
android:name=".battery.KprofilesSettingsActivity"
android:exported="true"
android:label="@string/kprofiles_title"
android:theme="@style/Theme.SubSettingsBase.Expressive">
<intent-filter>
<action android:name="com.android.settings.action.IA_SETTINGS" />
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES"/>
</intent-filter>
<meta-data
android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.battery" />
<meta-data
android:name="com.android.settings.summary"
android:resource="@string/kprofiles_summary" />
<meta-data
android:name="com.android.settings.profile"
android:value="primary_profile_only" />
</activity>
<service
android:name=".battery.KProfilesModesTileService"
android:exported="true"
android:icon="@drawable/ic_kprofiles"
android:label="@string/kprofiles_title"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter>
<meta-data android:name="android.service.quicksettings.TOGGLEABLE_TILE"
android:value="true" />
<meta-data android:name="android.service.quicksettings.ACTIVE_TILE"
android:value="true" />
</service>
<service
android:name=".battery.KProfilesService"
android:singleUser="true"
android:enabled="true"
android:exported="false" />
<provider
android:name=".battery.SearchProvider"
android:authorities="com.android.kprofiles.search"
android:multiprocess="false"
android:grantUriPermissions="true"
android:permission="android.permission.READ_SEARCH_INDEXABLES"
android:exported="true">
<intent-filter>
<action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
</intent-filter>
</provider>
</application>
</manifest>