1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2019 Braden Farmer
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
17 <!-- Manifest used for library builds of Taskbar, with the following changes:
19 * Certain permissions have been removed
20 * Certain activities have either had their intent filters removed, or their
21 entries removed entirely, as they're not needed
22 * All services and receivers are removed as they are never run
23 * All components run inside a ":libtaskbar" process for isolation from the
24 host application, in case of crashes, etc.
26 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
27 xmlns:tools="http://schemas.android.com/tools"
28 package="com.farmerbb.taskbar">
30 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" tools:ignore="ProtectedPermissions" />
31 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
32 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
33 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
34 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
35 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
36 <uses-permission android:name="android.permission.BLUETOOTH" />
41 android:name=".activity.MainActivity"
42 android:process=":libtaskbar"
43 android:label="@string/tb_app_name"/>
45 android:name=".activity.InvisibleActivity"
46 android:process=":libtaskbar"
47 android:documentLaunchMode="always"
48 android:excludeFromRecents="true"
49 android:launchMode="singleTask"
50 android:theme="@style/Taskbar.InvisibleActivity"/>
52 android:name=".activity.InvisibleActivityAlt"
53 android:process=":libtaskbar"
54 android:documentLaunchMode="always"
55 android:excludeFromRecents="true"
56 android:launchMode="singleTask"
57 android:theme="@style/Taskbar.Incognito"/>
59 android:name=".activity.dark.InvisibleActivityAltDark"
60 android:process=":libtaskbar"
61 android:documentLaunchMode="always"
62 android:excludeFromRecents="true"
63 android:launchMode="singleTask"
64 android:theme="@style/Taskbar.Incognito.Dark"/>
66 android:name=".activity.InvisibleActivityFreeform"
67 android:process=":libtaskbar"
68 android:documentLaunchMode="always"
69 android:excludeFromRecents="true"
70 android:launchMode="singleInstance"
71 android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
72 android:theme="@style/Taskbar.InvisibleActivity"/>
74 android:name=".activity.SecondaryHomeActivity"
75 android:process=":libtaskbar"
76 android:label="@string/tb_app_name"
77 android:enabled="true"
78 android:excludeFromRecents="true"
79 android:configChanges="screenSize|keyboard|keyboardHidden"
80 android:theme="@style/Taskbar.HomeActivity">
82 <action android:name="android.intent.action.MAIN"/>
84 <category android:name="android.intent.category.DEFAULT"/>
85 <category android:name="android.intent.category.SECONDARY_HOME"/>
89 android:name=".activity.ContextMenuActivity"
90 android:process=":libtaskbar"
91 android:documentLaunchMode="always"
92 android:excludeFromRecents="true"
93 android:theme="@style/Taskbar.Dialog"/>
95 android:name=".activity.dark.ContextMenuActivityDark"
96 android:process=":libtaskbar"
97 android:documentLaunchMode="always"
98 android:excludeFromRecents="true"
99 android:theme="@style/Taskbar.Dialog.Dark"/>
101 android:name=".activity.SelectAppActivity"
102 android:process=":libtaskbar"
103 android:theme="@style/Taskbar.Dialog.Blacklist"/>
105 android:name=".activity.dark.SelectAppActivityDark"
106 android:process=":libtaskbar"
107 android:theme="@style/Taskbar.Dialog.Blacklist.Dark"/>
109 android:name=".activity.DesktopIconSelectAppActivity"
110 android:process=":libtaskbar"
111 android:theme="@style/Taskbar.Dialog.Blacklist"/>
113 android:name=".activity.dark.DesktopIconSelectAppActivityDark"
114 android:process=":libtaskbar"
115 android:theme="@style/Taskbar.Dialog.Blacklist.Dark"/>
117 android:name=".activity.DummyActivity"
118 android:process=":libtaskbar"
119 android:documentLaunchMode="always"
120 android:excludeFromRecents="true"
121 android:theme="@style/Taskbar.Incognito"/>
123 android:name=".activity.IconPackActivity"
124 android:process=":libtaskbar"
125 android:theme="@style/Taskbar.Dialog.Blacklist"/>
127 android:name=".activity.dark.IconPackActivityDark"
128 android:process=":libtaskbar"
129 android:theme="@style/Taskbar.Dialog.Blacklist.Dark"/>
131 android:name=".activity.ClearDataActivity"
132 android:process=":libtaskbar"
133 android:theme="@style/Taskbar.Dialog.Blacklist"/>
135 android:name=".activity.dark.ClearDataActivityDark"
136 android:process=":libtaskbar"
137 android:theme="@style/Taskbar.Dialog.Blacklist.Dark"/>
139 android:name=".activity.DashboardActivity"
140 android:process=":libtaskbar"
141 android:documentLaunchMode="always"
142 android:excludeFromRecents="true"
143 android:launchMode="singleTask"
144 android:theme="@style/Taskbar.Incognito"/>
146 android:name=".activity.dark.DashboardActivityDark"
147 android:process=":libtaskbar"
148 android:documentLaunchMode="always"
149 android:excludeFromRecents="true"
150 android:launchMode="singleTask"
151 android:theme="@style/Taskbar.Incognito.Dark"/>
153 android:name=".activity.TouchAbsorberActivity"
154 android:process=":libtaskbar"
155 android:documentLaunchMode="always"
156 android:excludeFromRecents="true"
157 android:launchMode="singleTask"
158 android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
159 android:theme="@style/Taskbar.Incognito"/>