2009-03-04 11:32:27 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
**
|
|
|
|
** Copyright 2008, The Android Open Source Project
|
|
|
|
**
|
|
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
** you may not use this file except in compliance with the License.
|
|
|
|
** You may obtain a copy of the License at
|
|
|
|
**
|
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
**
|
|
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
** See the License for the specific language governing permissions and
|
|
|
|
** limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
<manifest
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2011-10-06 03:30:36 +08:00
|
|
|
package="com.android.launcher">
|
2010-02-12 06:25:50 +08:00
|
|
|
|
|
|
|
<original-package android:name="com.android.launcher2" />
|
|
|
|
|
2012-04-25 08:16:04 +08:00
|
|
|
<permission
|
|
|
|
android:name="com.android.launcher.permission.PRELOAD_WORKSPACE"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="system|signature" />
|
2009-03-04 11:32:27 +08:00
|
|
|
<permission
|
|
|
|
android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-08-08 01:21:13 +08:00
|
|
|
android:protectionLevel="dangerous"
|
2009-03-04 11:32:27 +08:00
|
|
|
android:label="@string/permlab_install_shortcut"
|
|
|
|
android:description="@string/permdesc_install_shortcut" />
|
|
|
|
<permission
|
|
|
|
android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-08-08 01:21:13 +08:00
|
|
|
android:protectionLevel="dangerous"
|
2009-03-04 11:32:27 +08:00
|
|
|
android:label="@string/permlab_uninstall_shortcut"
|
|
|
|
android:description="@string/permdesc_uninstall_shortcut"/>
|
|
|
|
<permission
|
|
|
|
android:name="com.android.launcher.permission.READ_SETTINGS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_read_settings"
|
|
|
|
android:description="@string/permdesc_read_settings"/>
|
|
|
|
<permission
|
|
|
|
android:name="com.android.launcher.permission.WRITE_SETTINGS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_write_settings"
|
|
|
|
android:description="@string/permdesc_write_settings"/>
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.CALL_PHONE" />
|
|
|
|
<uses-permission android:name="android.permission.SET_WALLPAPER" />
|
|
|
|
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
2009-05-08 07:12:05 +08:00
|
|
|
<uses-permission android:name="android.permission.BIND_APPWIDGET" />
|
2012-05-23 13:00:31 +08:00
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
2009-03-04 11:32:27 +08:00
|
|
|
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
|
|
|
|
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
|
2011-06-18 04:26:23 +08:00
|
|
|
|
2009-03-04 11:32:27 +08:00
|
|
|
<application
|
2010-03-05 03:57:50 +08:00
|
|
|
android:name="com.android.launcher2.LauncherApplication"
|
2009-03-04 11:32:27 +08:00
|
|
|
android:label="@string/application_name"
|
2010-09-28 07:39:26 +08:00
|
|
|
android:icon="@drawable/ic_launcher_home"
|
2012-06-29 04:45:33 +08:00
|
|
|
android:hardwareAccelerated="true"
|
2011-07-26 05:54:22 +08:00
|
|
|
android:largeHeap="@bool/config_largeHeap">
|
2009-03-04 11:32:27 +08:00
|
|
|
<activity
|
2010-03-05 03:57:50 +08:00
|
|
|
android:name="com.android.launcher2.Launcher"
|
2009-03-04 11:32:27 +08:00
|
|
|
android:launchMode="singleTask"
|
|
|
|
android:clearTaskOnLaunch="true"
|
|
|
|
android:stateNotNeeded="true"
|
2011-06-28 09:59:37 +08:00
|
|
|
android:theme="@style/Theme"
|
2011-09-16 09:21:21 +08:00
|
|
|
android:windowSoftInputMode="adjustPan"
|
2012-06-05 05:15:42 +08:00
|
|
|
android:screenOrientation="nosensor">
|
2009-03-04 11:32:27 +08:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
2009-09-23 23:32:02 +08:00
|
|
|
<category android:name="android.intent.category.HOME" />
|
2009-03-04 11:32:27 +08:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2009-09-23 23:32:02 +08:00
|
|
|
<category android:name="android.intent.category.MONKEY"/>
|
2009-03-04 11:32:27 +08:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity
|
2010-03-05 03:57:50 +08:00
|
|
|
android:name="com.android.launcher2.WallpaperChooser"
|
2011-06-22 04:03:34 +08:00
|
|
|
style="@style/Theme.WallpaperPicker"
|
2009-03-04 11:32:27 +08:00
|
|
|
android:label="@string/pick_wallpaper"
|
2009-11-09 07:31:40 +08:00
|
|
|
android:icon="@drawable/ic_launcher_wallpaper"
|
2011-10-13 21:07:30 +08:00
|
|
|
android:finishOnCloseSystemDialogs="true"
|
|
|
|
android:process=":wallpaper_chooser">
|
2009-03-04 11:32:27 +08:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SET_WALLPAPER" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2011-01-19 09:27:00 +08:00
|
|
|
<meta-data android:name="android.wallpaper.preview"
|
|
|
|
android:resource="@xml/wallpaper_picker_preview" />
|
2009-03-04 11:32:27 +08:00
|
|
|
</activity>
|
2009-06-10 03:57:21 +08:00
|
|
|
|
2011-05-12 12:06:32 +08:00
|
|
|
<activity android:name="com.android.launcher2.RocketLauncher"
|
|
|
|
android:label="@string/dream_name"
|
2011-05-27 06:21:24 +08:00
|
|
|
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
|
2011-05-12 12:06:32 +08:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.DREAM" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2012-04-25 08:16:04 +08:00
|
|
|
<!-- Intent received used to prepopulate the default workspace. -->
|
|
|
|
<receiver
|
|
|
|
android:name="com.android.launcher2.PreloadReceiver"
|
|
|
|
android:permission="com.android.launcher.permission.PRELOAD_WORKSPACE">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.android.launcher.action.PRELOAD_WORKSPACE" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2009-03-04 11:32:27 +08:00
|
|
|
<!-- Intent received used to install shortcuts from other applications -->
|
|
|
|
<receiver
|
2010-03-05 03:57:50 +08:00
|
|
|
android:name="com.android.launcher2.InstallShortcutReceiver"
|
2009-03-04 11:32:27 +08:00
|
|
|
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
|
|
|
<!-- Intent received used to uninstall shortcuts from other applications -->
|
|
|
|
<receiver
|
2010-03-05 03:57:50 +08:00
|
|
|
android:name="com.android.launcher2.UninstallShortcutReceiver"
|
2009-03-04 11:32:27 +08:00
|
|
|
android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
|
|
|
<!-- The settings provider contains Home's data, like the workspace favorites -->
|
|
|
|
<provider
|
2010-03-05 03:57:50 +08:00
|
|
|
android:name="com.android.launcher2.LauncherProvider"
|
2009-07-31 04:37:37 +08:00
|
|
|
android:authorities="com.android.launcher2.settings"
|
2012-07-29 07:11:07 +08:00
|
|
|
android:exported="true"
|
2009-03-04 11:32:27 +08:00
|
|
|
android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
|
|
|
|
android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
|
|
|
|
|
2012-04-20 00:38:20 +08:00
|
|
|
<meta-data android:name="android.nfc.disable_beam_default"
|
|
|
|
android:value="true" />
|
2009-03-04 11:32:27 +08:00
|
|
|
</application>
|
|
|
|
</manifest>
|