OSDN Git Service

Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
[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:allowBackup="@bool/enable_backup"
57         android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
58         android:hardwareAccelerated="true"
59         android:icon="@mipmap/ic_launcher_home"
60         android:label="@string/app_name"
61         android:largeHeap="@bool/config_largeHeap"
62         android:restoreAnyVersion="true"
63         android:supportsRtl="true" >
64
65         <activity
66             android:name="com.android.launcher3.Launcher"
67             android:launchMode="singleTask"
68             android:clearTaskOnLaunch="true"
69             android:stateNotNeeded="true"
70             android:theme="@style/LauncherTheme"
71             android:windowSoftInputMode="adjustPan"
72             android:screenOrientation="nosensor"
73             android:configChanges="keyboard|keyboardHidden|navigation"
74             android:resumeWhilePausing="true"
75             android:taskAffinity=""
76             android:enabled="true">
77             <intent-filter>
78                 <action android:name="android.intent.action.MAIN" />
79                 <category android:name="android.intent.category.HOME" />
80                 <category android:name="android.intent.category.DEFAULT" />
81                 <category android:name="android.intent.category.MONKEY"/>
82             </intent-filter>
83         </activity>
84
85         <activity
86             android:name="com.android.launcher3.SettingsActivity"
87             android:label="@string/settings_button_text"
88             android:autoRemoveFromRecents="true">
89             <intent-filter>
90                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
91                 <category android:name="android.intent.category.DEFAULT" />
92             </intent-filter>
93         </activity>
94
95         <!-- Intent received used to install shortcuts from other applications -->
96         <receiver
97             android:name="com.android.launcher3.InstallShortcutReceiver"
98             android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
99             <intent-filter>
100                 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
101             </intent-filter>
102         </receiver>
103
104         <!-- Intent received used to initialize a restored widget -->
105         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
106             <intent-filter>
107                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
108             </intent-filter>
109         </receiver>
110
111         <service android:name=".dynamicui.ColorExtractionService"
112             android:exported="false"
113             android:process=":wallpaper_chooser">
114         </service>
115
116         <!-- The settings provider contains Home's data, like the workspace favorites -->
117         <provider
118             android:name="com.android.launcher3.LauncherProvider"
119             android:authorities="com.android.launcher3.settings"
120             android:exported="true"
121             android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
122             android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
123
124         <meta-data android:name="android.nfc.disable_beam_default"
125                        android:value="true" />
126
127         <!-- ENABLE_FOR_TESTING
128
129         <activity
130             android:name="com.android.launcher3.testing.LauncherExtension"
131             android:launchMode="singleTask"
132             android:clearTaskOnLaunch="true"
133             android:stateNotNeeded="true"
134             android:theme="@style/Theme"
135             android:windowSoftInputMode="adjustPan"
136             android:screenOrientation="nosensor"
137             >
138             <intent-filter>
139                 <action android:name="android.intent.action.MAIN" />
140                 <category android:name="android.intent.category.HOME" />
141                 <category android:name="android.intent.category.DEFAULT" />
142                 <category android:name="android.intent.category.MONKEY"/>
143             </intent-filter>
144         </activity>
145
146         <activity
147             android:name="com.android.launcher3.testing.MemoryDumpActivity"
148             android:theme="@android:style/Theme.NoDisplay"
149             android:label="* HPROF"
150             android:excludeFromRecents="true"
151             android:icon="@mipmap/ic_launcher_home"
152             >
153             <intent-filter>
154                 <action android:name="android.intent.action.MAIN" />
155                 <category android:name="android.intent.category.DEFAULT" />
156                 <category android:name="android.intent.category.LAUNCHER" />
157             </intent-filter>
158         </activity>
159
160         <activity
161             android:name="com.android.launcher3.testing.ToggleWeightWatcher"
162             android:label="Show Mem"
163             android:icon="@mipmap/ic_launcher_home">
164             <intent-filter>
165                 <action android:name="android.intent.action.MAIN" />
166                 <category android:name="android.intent.category.DEFAULT" />
167                 <category android:name="android.intent.category.LAUNCHER" />
168             </intent-filter>
169         </activity>
170
171         <service android:name="com.android.launcher3.testing.MemoryTracker" />
172
173         -->
174
175     </application>
176 </manifest>