OSDN Git Service

Add versionCode and versionName to Android-x86 version
[android-x86/packages-apps-Taskbar.git] / app / src / androidx86 / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 Braden Farmer
3
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
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
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.
15 -->
16
17 <!-- Manifest used for Android-x86 builds of Taskbar, with the following changes:
18
19      * HomeActivity is enabled by default
20      * SendSettingsReceiver and ReceiveSettingsReceiver are not exposed
21 -->
22 <manifest android:versionCode="176"
23           android:versionName="3.8.1"
24           xmlns:android="http://schemas.android.com/apk/res/android"
25           package="com.farmerbb.taskbar" >
26
27     <permission android:name="com.farmerbb.taskbar.androidx86.START_STOP_TASKBAR"
28         android:protectionLevel="signature" />
29
30     <permission android:name="com.farmerbb.taskbar.androidx86.ENABLE_DISABLE_HOME"
31         android:protectionLevel="signature" />
32
33     <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
34     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
35     <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
36     <uses-permission android:name="com.farmerbb.taskbar.androidx86.START_STOP_TASKBAR" />
37     <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
38     <uses-permission android:name="android.permission.GET_TASKS" />
39     <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
40     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
41     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
42
43     <uses-feature
44         android:name="android.hardware.touchscreen"
45         android:required="false"/>
46
47     <supports-screens
48         android:anyDensity="true"
49         android:largeScreens="true"
50         android:normalScreens="true"
51         android:smallScreens="true"
52         android:xlargeScreens="true"/>
53
54     <application
55         android:allowBackup="true"
56         android:icon="@mipmap/ic_launcher"
57         android:label="@string/app_name"
58         android:theme="@style/AppTheme" >
59
60         <activity
61             android:name=".MainActivity"
62             android:label="@string/app_name"
63             android:launchMode="singleTask" >
64             <intent-filter>
65                 <action android:name="android.intent.action.MAIN"/>
66                 <action android:name="android.intent.action.APPLICATION_PREFERENCES"/>
67
68                 <category android:name="android.intent.category.LAUNCHER"/>
69             </intent-filter>
70         </activity>
71         <activity
72             android:name=".activity.InvisibleActivity"
73             android:documentLaunchMode="always"
74             android:excludeFromRecents="true"
75             android:launchMode="singleTask"
76             android:theme="@style/AppTheme.InvisibleActivity"/>
77         <activity
78             android:name=".activity.InvisibleActivityAlt"
79             android:documentLaunchMode="always"
80             android:excludeFromRecents="true"
81             android:launchMode="singleTask"
82             android:theme="@style/AppTheme.Incognito"/>
83         <activity
84             android:name=".activity.dark.InvisibleActivityAltDark"
85             android:documentLaunchMode="always"
86             android:excludeFromRecents="true"
87             android:launchMode="singleTask"
88             android:theme="@style/AppTheme.Incognito.Dark"/>
89         <activity
90             android:name=".activity.InvisibleActivityFreeform"
91             android:documentLaunchMode="always"
92             android:excludeFromRecents="true"
93             android:launchMode="singleInstance"
94             android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
95             android:theme="@style/AppTheme.InvisibleActivity"/>
96         <activity
97             android:name=".activity.HomeActivity"
98             android:label="@string/app_name"
99             android:launchMode="singleTask"
100             android:enabled="true"
101             android:theme="@style/AppTheme.HomeActivity">
102             <intent-filter>
103                 <action android:name="android.intent.action.MAIN"/>
104
105                 <category android:name="android.intent.category.DEFAULT"/>
106                 <category android:name="android.intent.category.HOME"/>
107             </intent-filter>
108         </activity>
109         <activity
110             android:name=".activity.KeyboardShortcutActivity"
111             android:label="@string/app_name"
112             android:documentLaunchMode="always"
113             android:excludeFromRecents="true"
114             android:launchMode="singleTask"
115             android:enabled="false"
116             android:theme="@android:style/Theme.NoDisplay">
117             <intent-filter>
118                 <action android:name="android.intent.action.MAIN"/>
119                 <action android:name="android.intent.action.ASSIST" />
120
121                 <category android:name="android.intent.category.DEFAULT"/>
122                 <category android:name="android.intent.category.APP_MAPS" />
123                 <category android:name="android.intent.category.APP_CALENDAR" />
124             </intent-filter>
125         </activity>
126         <activity
127             android:name=".activity.ContextMenuActivity"
128             android:documentLaunchMode="always"
129             android:excludeFromRecents="true"
130             android:theme="@style/AppTheme.Dialog"/>
131         <activity
132             android:name=".activity.dark.ContextMenuActivityDark"
133             android:documentLaunchMode="always"
134             android:excludeFromRecents="true"
135             android:theme="@style/AppTheme.Dialog.Dark"/>
136         <activity
137             android:name=".activity.SelectAppActivity"
138             android:theme="@style/AppTheme.Dialog.Blacklist"/>
139         <activity
140             android:name=".activity.dark.SelectAppActivityDark"
141             android:theme="@style/AppTheme.Dialog.Blacklist.Dark"/>
142         <activity
143             android:name=".activity.DummyActivity"
144             android:documentLaunchMode="always"
145             android:excludeFromRecents="true"
146             android:theme="@style/AppTheme.Incognito"/>
147         <activity
148             android:name=".activity.ImportSettingsActivity"
149             android:theme="@style/AppTheme.Dialog"/>
150         <activity
151             android:name=".activity.IconPackActivity"
152             android:theme="@style/AppTheme.Dialog.Blacklist"/>
153         <activity
154             android:name=".activity.dark.IconPackActivityDark"
155             android:theme="@style/AppTheme.Dialog.Blacklist.Dark"/>
156         <activity
157             android:name=".activity.IconPackApplyActivity"
158             android:launchMode="singleTask"
159             android:theme="@style/AppTheme.Dialog"
160             android:exported="true">
161             <intent-filter>
162                 <action android:name="android.intent.action.MAIN"/>
163                 <action android:name="com.farmerbb.taskbar.APPLY_ICON_PACK"/>
164
165                 <category android:name="android.intent.category.DEFAULT"/>
166             </intent-filter>
167         </activity>
168         <activity
169             android:name=".activity.ShortcutActivity"
170             android:icon="@mipmap/ic_freeform_mode"
171             android:label="@string/pref_header_freeform"
172             android:documentLaunchMode="always"
173             android:excludeFromRecents="true"
174             android:enabled="false"
175             android:theme="@android:style/Theme.NoDisplay" >
176             <intent-filter>
177                 <action android:name="android.intent.action.MAIN" />
178                 <action android:name="android.intent.action.CREATE_SHORTCUT" />
179
180                 <category android:name="android.intent.category.DEFAULT" />
181             </intent-filter>
182         </activity>
183         <activity
184             android:name=".activity.StartTaskbarActivity"
185             android:label="@string/start_taskbar"
186             android:documentLaunchMode="always"
187             android:excludeFromRecents="true"
188             android:enabled="true"
189             android:theme="@android:style/Theme.NoDisplay" >
190             <intent-filter>
191                 <action android:name="android.intent.action.MAIN" />
192                 <action android:name="android.intent.action.CREATE_SHORTCUT" />
193
194                 <category android:name="android.intent.category.DEFAULT" />
195             </intent-filter>
196         </activity>
197         <activity
198             android:name=".activity.ClearDataActivity"
199             android:theme="@style/AppTheme.Dialog.Blacklist"/>
200         <activity
201             android:name=".activity.dark.ClearDataActivityDark"
202             android:theme="@style/AppTheme.Dialog.Blacklist.Dark"/>
203         <activity
204             android:name=".activity.DashboardActivity"
205             android:documentLaunchMode="always"
206             android:excludeFromRecents="true"
207             android:launchMode="singleTask"
208             android:theme="@style/AppTheme.Incognito"/>
209         <activity
210             android:name=".activity.dark.DashboardActivityDark"
211             android:documentLaunchMode="always"
212             android:excludeFromRecents="true"
213             android:launchMode="singleTask"
214             android:theme="@style/AppTheme.Incognito.Dark"/>
215         <activity
216             android:name=".activity.NavigationBarButtonsActivity"
217             android:theme="@style/AppTheme.Dialog.Preference"/>
218         <activity
219             android:name=".activity.dark.NavigationBarButtonsActivityDark"
220             android:theme="@style/AppTheme.Dialog.Preference.Dark"/>
221
222         <service android:name=".service.TaskbarService"/>
223         <service android:name=".service.StartMenuService"/>
224         <service android:name=".service.NotificationService"/>
225         <service android:name=".service.DashboardService"/>
226         <service
227             android:name=".service.PowerMenuService"
228             android:enabled="true"
229             android:exported="true"
230             android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
231             <intent-filter>
232                 <action android:name="android.accessibilityservice.AccessibilityService" />
233             </intent-filter>
234             <meta-data android:name="android.accessibilityservice"
235                        android:resource="@xml/accessibility_service" />
236         </service>
237         <service
238             android:name=".service.QuickSettingsTileService"
239             android:label="@string/app_name"
240             android:icon="@drawable/ic_allapps"
241             android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
242             <intent-filter>
243                 <action android:name="android.service.quicksettings.action.QS_TILE" />
244             </intent-filter>
245             <meta-data android:name="android.service.quicksettings.ACTIVE_TILE"
246                        android:value="true" />
247         </service>
248
249         <receiver
250             android:name=".receiver.ShowHideTaskbarReceiver"
251             android:permission="com.farmerbb.taskbar.androidx86.START_STOP_TASKBAR" >
252             <intent-filter>
253                 <action android:name="com.farmerbb.taskbar.SHOW_HIDE_TASKBAR"/>
254             </intent-filter>
255         </receiver>
256         <receiver
257             android:name=".receiver.StartReceiver"
258             android:enabled="true"
259             android:exported="true"
260             android:permission="com.farmerbb.taskbar.androidx86.START_STOP_TASKBAR" >
261             <intent-filter>
262                 <action android:name="com.farmerbb.taskbar.START"/>
263             </intent-filter>
264         </receiver>
265         <receiver
266             android:name=".receiver.QuitReceiver"
267             android:enabled="true"
268             android:exported="true"
269             android:permission="com.farmerbb.taskbar.androidx86.START_STOP_TASKBAR" >
270             <intent-filter>
271                 <action android:name="com.farmerbb.taskbar.QUIT"/>
272             </intent-filter>
273         </receiver>
274         <receiver
275             android:name=".receiver.BootReceiver"
276             android:enabled="true"
277             android:exported="true">
278             <intent-filter>
279                 <action android:name="android.intent.action.BOOT_COMPLETED"/>
280             </intent-filter>
281         </receiver>
282         <receiver
283             android:name=".receiver.PackageUpgradeReceiver"
284             android:enabled="true"
285             android:exported="true">
286             <intent-filter>
287                 <action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
288             </intent-filter>
289         </receiver>
290         <receiver android:name=".receiver.LockDeviceReceiver"
291                   android:label="@string/app_name"
292                   android:enabled="false"
293                   android:exported="true"
294                   android:description="@string/device_admin_description_short"
295                   android:permission="android.permission.BIND_DEVICE_ADMIN">
296             <meta-data android:name="android.app.device_admin"
297                        android:resource="@xml/device_admin" />
298             <intent-filter>
299                 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
300             </intent-filter>
301         </receiver>
302         <receiver
303             android:name=".receiver.UninstallReceiver"
304             android:enabled="true"
305             android:exported="true" >
306             <intent-filter>
307                 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
308                 <data android:scheme="package" />
309             </intent-filter>
310         </receiver>
311         <receiver
312             android:name=".receiver.EnableHomeReceiver"
313             android:enabled="true"
314             android:exported="true"
315             android:permission="com.farmerbb.taskbar.androidx86.ENABLE_DISABLE_HOME" >
316             <intent-filter>
317                 <action android:name="com.farmerbb.taskbar.ENABLE_HOME"/>
318             </intent-filter>
319         </receiver>
320         <receiver
321             android:name=".receiver.DisableHomeReceiver"
322             android:enabled="true"
323             android:exported="true"
324             android:permission="com.farmerbb.taskbar.androidx86.ENABLE_DISABLE_HOME" >
325             <intent-filter>
326                 <action android:name="com.farmerbb.taskbar.DISABLE_HOME"/>
327             </intent-filter>
328         </receiver>
329         <receiver
330             android:name=".receiver.ToggleFreeformModeReceiver"
331             android:permission="com.farmerbb.taskbar.androidx86.START_STOP_TASKBAR" >
332             <intent-filter>
333                 <action android:name="com.farmerbb.taskbar.TOGGLE_FREEFORM_MODE"/>
334             </intent-filter>
335         </receiver>
336
337     </application>
338
339 </manifest>