OSDN Git Service

Adding full backup handler for launcher3
[android-x86/packages-apps-Launcher3.git] / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /*
4 **
5 ** Copyright 2008, The Android Open Source Project
6 **
7 ** Licensed under the Apache License, Version 2.0 (the "License");
8 ** you may not use this file except in compliance with the License.
9 ** You may obtain a copy of the License at
10 **
11 **     http://www.apache.org/licenses/LICENSE-2.0
12 **
13 ** Unless required by applicable law or agreed to in writing, software
14 ** distributed under the License is distributed on an "AS IS" BASIS,
15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ** See the License for the specific language governing permissions and
17 ** limitations under the License.
18 */
19 -->
20 <manifest
21     xmlns:android="http://schemas.android.com/apk/res/android"
22     package="com.android.launcher3">
23     <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="16"/>
24
25     <permission
26         android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
27         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
28         android:protectionLevel="dangerous"
29         android:label="@string/permlab_install_shortcut"
30         android:description="@string/permdesc_install_shortcut" />
31     <permission
32         android:name="com.android.launcher3.permission.READ_SETTINGS"
33         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
34         android:protectionLevel="normal"
35         android:label="@string/permlab_read_settings"
36         android:description="@string/permdesc_read_settings"/>
37     <permission
38         android:name="com.android.launcher3.permission.WRITE_SETTINGS"
39         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
40         android:protectionLevel="signatureOrSystem"
41         android:label="@string/permlab_write_settings"
42         android:description="@string/permdesc_write_settings"/>
43
44     <uses-permission android:name="android.permission.CALL_PHONE" />
45     <uses-permission android:name="android.permission.SET_WALLPAPER" />
46     <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
47     <uses-permission android:name="android.permission.BIND_APPWIDGET" />
48     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
49     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
50     <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
51     <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
52     <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
53     <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
54
55     <application
56         android:backupAgent="com.android.launcher3.LauncherBackupAgent"
57         android:fullBackupOnly="true"
58         android:fullBackupContent="@xml/backupscheme"
59         android:hardwareAccelerated="true"
60         android:icon="@mipmap/ic_launcher_home"
61         android:label="@string/app_name"
62         android:largeHeap="@bool/config_largeHeap"
63         android:restoreAnyVersion="true"
64         android:supportsRtl="true" >
65
66         <activity
67             android:name="com.android.launcher3.Launcher"
68             android:launchMode="singleTask"
69             android:clearTaskOnLaunch="true"
70             android:stateNotNeeded="true"
71             android:theme="@style/LauncherTheme"
72             android:windowSoftInputMode="adjustPan"
73             android:screenOrientation="nosensor"
74             android:configChanges="keyboard|keyboardHidden|navigation"
75             android:resumeWhilePausing="true"
76             android:taskAffinity=""
77             android:enabled="true">
78             <intent-filter>
79                 <action android:name="android.intent.action.MAIN" />
80                 <category android:name="android.intent.category.HOME" />
81                 <category android:name="android.intent.category.DEFAULT" />
82                 <category android:name="android.intent.category.MONKEY"/>
83             </intent-filter>
84         </activity>
85
86         <activity
87             android:name="com.android.launcher3.SettingsActivity"
88             android:label="@string/settings_button_text"
89             android:autoRemoveFromRecents="true">
90             <intent-filter>
91                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
92                 <category android:name="android.intent.category.DEFAULT" />
93             </intent-filter>
94         </activity>
95
96         <!-- Intent received used to install shortcuts from other applications -->
97         <receiver
98             android:name="com.android.launcher3.InstallShortcutReceiver"
99             android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
100             <intent-filter>
101                 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
102             </intent-filter>
103         </receiver>
104
105         <!-- Intent received used to initialize a restored widget -->
106         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
107             <intent-filter>
108                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
109             </intent-filter>
110         </receiver>
111
112         <service android:name=".dynamicui.ColorExtractionService"
113             android:exported="false"
114             android:process=":wallpaper_chooser">
115         </service>
116
117         <!-- The settings provider contains Home's data, like the workspace favorites -->
118         <provider
119             android:name="com.android.launcher3.LauncherProvider"
120             android:authorities="com.android.launcher3.settings"
121             android:exported="true"
122             android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
123             android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
124
125         <meta-data android:name="android.nfc.disable_beam_default"
126                        android:value="true" />
127
128         <!-- ENABLE_FOR_TESTING
129
130         <activity
131             android:name="com.android.launcher3.testing.LauncherExtension"
132             android:launchMode="singleTask"
133             android:clearTaskOnLaunch="true"
134             android:stateNotNeeded="true"
135             android:theme="@style/Theme"
136             android:windowSoftInputMode="adjustPan"
137             android:screenOrientation="nosensor"
138             >
139             <intent-filter>
140                 <action android:name="android.intent.action.MAIN" />
141                 <category android:name="android.intent.category.HOME" />
142                 <category android:name="android.intent.category.DEFAULT" />
143                 <category android:name="android.intent.category.MONKEY"/>
144             </intent-filter>
145         </activity>
146
147         <activity
148             android:name="com.android.launcher3.testing.MemoryDumpActivity"
149             android:theme="@android:style/Theme.NoDisplay"
150             android:label="* HPROF"
151             android:excludeFromRecents="true"
152             android:icon="@mipmap/ic_launcher_home"
153             >
154             <intent-filter>
155                 <action android:name="android.intent.action.MAIN" />
156                 <category android:name="android.intent.category.DEFAULT" />
157                 <category android:name="android.intent.category.LAUNCHER" />
158             </intent-filter>
159         </activity>
160
161         <activity
162             android:name="com.android.launcher3.testing.ToggleWeightWatcher"
163             android:label="Show Mem"
164             android:icon="@mipmap/ic_launcher_home">
165             <intent-filter>
166                 <action android:name="android.intent.action.MAIN" />
167                 <category android:name="android.intent.category.DEFAULT" />
168                 <category android:name="android.intent.category.LAUNCHER" />
169             </intent-filter>
170         </activity>
171
172         <service android:name="com.android.launcher3.testing.MemoryTracker" />
173
174         -->
175
176     </application>
177 </manifest>