Home | History | Annotate | Download | only in Launcher3
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2016, 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="21"/>
     24 
     25     <!--
     26     The manifest defines the common entries that should be present in any derivative of Launcher3.
     27     The components should generally not require any changes.
     28 
     29     Rest of the components are defined in AndroidManifest.xml which is merged with this manifest
     30     at compile time. Note that the components defined in AndroidManifest.xml are also required,
     31     with some minor changed based on the derivative app.
     32     -->
     33     <permission
     34         android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
     35         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
     36         android:protectionLevel="dangerous"
     37         android:label="@string/permlab_install_shortcut"
     38         android:description="@string/permdesc_install_shortcut" />
     39 
     40     <uses-permission android:name="android.permission.CALL_PHONE" />
     41     <uses-permission android:name="android.permission.SET_WALLPAPER" />
     42     <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
     43     <uses-permission android:name="android.permission.BIND_APPWIDGET" />
     44     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
     45     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
     46 
     47     <application
     48         android:backupAgent="com.android.launcher3.LauncherBackupAgent"
     49         android:fullBackupOnly="true"
     50         android:fullBackupContent="@xml/backupscheme"
     51         android:hardwareAccelerated="true"
     52         android:icon="@drawable/ic_launcher_home"
     53         android:label="@string/derived_app_name"
     54         android:largeHeap="@bool/config_largeHeap"
     55         android:restoreAnyVersion="true"
     56         android:supportsRtl="true" >
     57 
     58         <!-- Intent received used to install shortcuts from other applications -->
     59         <receiver
     60             android:name="com.android.launcher3.InstallShortcutReceiver"
     61             android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
     62             android:enabled="@bool/enable_install_shortcut_api" >
     63             <intent-filter>
     64                 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
     65             </intent-filter>
     66         </receiver>
     67 
     68         <!-- Intent received when a session is committed -->
     69         <receiver
     70             android:name="com.android.launcher3.SessionCommitReceiver" >
     71             <intent-filter>
     72                 <action android:name="android.content.pm.action.SESSION_COMMITTED" />
     73             </intent-filter>
     74         </receiver>
     75 
     76         <!-- Intent received used to initialize a restored widget -->
     77         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
     78             <intent-filter>
     79                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
     80             </intent-filter>
     81         </receiver>
     82 
     83         <service android:name="com.android.launcher3.dynamicui.ColorExtractionService"
     84             android:exported="false"
     85             android:process=":wallpaper_chooser"
     86             android:permission="android.permission.BIND_JOB_SERVICE">
     87         </service>
     88 
     89         <service
     90             android:name="com.android.launcher3.compat.WallpaperManagerCompatVL$ColorExtractionService"
     91             android:exported="false"
     92             android:process=":wallpaper_chooser"
     93             android:permission="android.permission.BIND_JOB_SERVICE" />
     94 
     95         <service android:name="com.android.launcher3.notification.NotificationListener"
     96                  android:enabled="@bool/notification_badging_enabled"
     97                  android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
     98             <intent-filter>
     99                 <action android:name="android.service.notification.NotificationListenerService" />
    100             </intent-filter>
    101         </service>
    102 
    103         <meta-data android:name="android.nfc.disable_beam_default"
    104                        android:value="true" />
    105 
    106         <activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
    107             android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"
    108             android:excludeFromRecents="true"
    109             android:autoRemoveFromRecents="true"
    110             android:label="@string/action_add_to_workspace" >
    111             <intent-filter>
    112                 <action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
    113                 <action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
    114             </intent-filter>
    115         </activity>
    116 
    117         <!--
    118         Should point to the content provider which can be used to dump Launcher3 compatible
    119         worspace configuration to the dump's file descriptor by using launcher_dump.proto
    120         -->
    121         <meta-data
    122             android:name="com.android.launcher3.launcher_dump_provider"
    123             android:value="com.android.launcher3.LauncherProvider" />
    124 
    125     </application>
    126 </manifest>
    127