Home | History | Annotate | Download | only in SystemUI
      1 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      2         xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
      3         package="com.android.systemui"
      4         android:sharedUserId="android.uid.systemui"
      5         coreApp="true">
      6 
      7     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
      8     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
      9     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     10     <uses-permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" />
     11     <uses-permission android:name="android.permission.WAKE_LOCK" />
     12 
     13     <uses-permission android:name="android.permission.INJECT_EVENTS" />
     14     <uses-permission android:name="android.permission.DUMP" />
     15     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
     16 
     17     <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
     18     <uses-permission android:name="android.permission.STATUS_BAR" />
     19     <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
     20     <uses-permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK" />
     21 
     22     <uses-permission android:name="android.permission.MANAGE_USERS" />
     23     <uses-permission android:name="android.permission.READ_PROFILE" />
     24     <uses-permission android:name="android.permission.READ_CONTACTS" />
     25     <uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
     26     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
     27     <uses-permission android:name="android.permission.GET_APP_OPS_STATS" />
     28 
     29     <!-- Networking and telephony -->
     30     <uses-permission android:name="android.permission.BLUETOOTH" />
     31     <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
     32     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     33     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
     34     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     35     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
     36     <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
     37 
     38     <!-- Physical hardware -->
     39     <uses-permission android:name="android.permission.MANAGE_USB" />
     40     <uses-permission android:name="android.permission.DEVICE_POWER" />
     41     <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
     42     <uses-permission android:name="android.permission.MASTER_CLEAR" />
     43     <uses-permission android:name="android.permission.VIBRATE" />
     44 
     45     <!-- ActivityManager -->
     46     <uses-permission android:name="android.permission.GET_TASKS" />
     47     <uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
     48     <uses-permission android:name="android.permission.REORDER_TASKS" />
     49     <uses-permission android:name="android.permission.REMOVE_TASKS" />
     50     <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
     51     <uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" />
     52     <uses-permission android:name="android.permission.START_ANY_ACTIVITY" />
     53     <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
     54     <uses-permission android:name="android.permission.GET_TOP_ACTIVITY_INFO" />
     55 
     56     <!-- WindowManager -->
     57     <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" />
     58     <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
     59     <uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
     60     <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" />
     61     <uses-permission android:name="android.permission.SET_ORIENTATION" />
     62     <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
     63 
     64     <!-- DreamManager -->
     65     <uses-permission android:name="android.permission.READ_DREAM_STATE" />
     66     <uses-permission android:name="android.permission.WRITE_DREAM_STATE" />
     67 
     68     <!-- Alarm clocks -->
     69     <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
     70 
     71     <!-- Keyguard -->
     72     <uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
     73 
     74     <application
     75         android:persistent="true"
     76         android:allowClearUserData="false"
     77         android:allowBackup="false"
     78         android:hardwareAccelerated="true"
     79         android:label="@string/app_label"
     80         android:icon="@*android:drawable/platlogo"
     81         android:process="com.android.systemui"
     82         android:supportsRtl="true">
     83 
     84         <!-- Broadcast receiver that gets the broadcast at boot time and starts
     85              up everything else.
     86              TODO: Should have an android:permission attribute
     87              -->
     88         <service android:name="SystemUIService"
     89             android:exported="true"
     90             />
     91 
     92         <!-- started from PhoneWindowManager
     93              TODO: Should have an android:permission attribute -->
     94         <service android:name=".screenshot.TakeScreenshotService"
     95             android:process=":screenshot"
     96             android:exported="false" />
     97 
     98         <service android:name=".LoadAverageService"
     99                 android:exported="true" />
    100 
    101         <service android:name=".ImageWallpaper"
    102                 android:permission="android.permission.BIND_WALLPAPER"
    103                 android:exported="true" />
    104 
    105         <receiver android:name=".BootReceiver" androidprv:primaryUserOnly="true">
    106             <intent-filter>
    107                 <action android:name="android.intent.action.BOOT_COMPLETED" />
    108             </intent-filter>
    109         </receiver>
    110 
    111         <activity android:name=".usb.UsbStorageActivity"
    112                   android:label="@*android:string/usb_storage_activity_title"
    113                   android:excludeFromRecents="true">
    114         </activity>
    115         <activity android:name="com.android.internal.app.ExternalMediaFormatActivity"
    116                 android:theme="@*android:style/Theme.Dialog.Alert"
    117                 android:excludeFromRecents="true">
    118         </activity>
    119 
    120         <activity android:name=".recent.RecentsActivity"
    121                 android:label="@string/accessibility_desc_recent_apps"
    122                 android:theme="@style/RecentsStyle"
    123                 android:excludeFromRecents="true"
    124                 android:launchMode="singleInstance"
    125                 android:exported="true">
    126           <intent-filter>
    127             <action android:name="com.android.systemui.TOGGLE_RECENTS" />
    128           </intent-filter>
    129         </activity>
    130 
    131         <receiver
    132             android:name=".recent.RecentsPreloadReceiver"
    133             android:exported="false">
    134             <intent-filter>
    135                 <action android:name="com.android.systemui.recent.action.PRELOAD" />
    136                 <action android:name="com.android.systemui.recent.action.CANCEL_PRELOAD" />
    137             </intent-filter>
    138         </receiver>
    139 
    140         <!-- started from UsbDeviceSettingsManager -->
    141         <activity android:name=".usb.UsbConfirmActivity"
    142             android:exported="true"
    143             android:permission="android.permission.MANAGE_USB"
    144             android:theme="@*android:style/Theme.Holo.Dialog.Alert"
    145             android:finishOnCloseSystemDialogs="true"
    146             android:excludeFromRecents="true">
    147         </activity>
    148 
    149         <!-- started from UsbDeviceSettingsManager -->
    150         <activity android:name=".usb.UsbPermissionActivity"
    151             android:exported="true"
    152             android:permission="android.permission.MANAGE_USB"
    153             android:theme="@*android:style/Theme.Holo.Dialog.Alert"
    154             android:finishOnCloseSystemDialogs="true"
    155             android:excludeFromRecents="true">
    156         </activity>
    157 
    158         <!-- started from UsbDeviceSettingsManager -->
    159         <activity android:name=".usb.UsbResolverActivity"
    160             android:exported="true"
    161             android:permission="android.permission.MANAGE_USB"
    162             android:theme="@*android:style/Theme.Holo.Dialog.Alert"
    163             android:finishOnCloseSystemDialogs="true"
    164             android:excludeFromRecents="true">
    165         </activity>
    166 
    167         <!-- started from UsbDeviceSettingsManager -->
    168         <activity android:name=".usb.UsbAccessoryUriActivity"
    169             android:exported="true"
    170             android:permission="android.permission.MANAGE_USB"
    171             android:theme="@*android:style/Theme.Holo.Dialog.Alert"
    172             android:finishOnCloseSystemDialogs="true"
    173             android:excludeFromRecents="true">
    174         </activity>
    175 
    176         <!-- started from UsbDebuggingManager -->
    177         <activity android:name=".usb.UsbDebuggingActivity"
    178             android:permission="android.permission.MANAGE_USB"
    179             android:theme="@*android:style/Theme.Holo.Dialog.Alert"
    180             android:finishOnCloseSystemDialogs="true"
    181             android:excludeFromRecents="true">
    182         </activity>
    183 
    184         <!-- started from NetworkPolicyManagerService -->
    185         <activity
    186             android:name=".net.NetworkOverLimitActivity"
    187             android:exported="true"
    188             android:permission="android.permission.MANAGE_NETWORK_POLICY"
    189             android:theme="@android:style/Theme.Holo.Panel"
    190             android:finishOnCloseSystemDialogs="true"
    191             android:launchMode="singleTop"
    192             android:taskAffinity="com.android.systemui.net"
    193             android:excludeFromRecents="true" />
    194 
    195         <!-- platform logo easter egg activity -->
    196         <activity
    197             android:name=".DessertCase"
    198             android:exported="true"
    199             android:label="@string/dessert_case"
    200             android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
    201             android:hardwareAccelerated="true"
    202             android:launchMode="singleInstance"
    203             android:screenOrientation="locked"
    204             android:process=":sweetsweetdesserts"
    205             android:excludeFromRecents="true">
    206             <intent-filter>
    207                 <action android:name="android.intent.action.MAIN" />
    208                 <category android:name="android.intent.category.DEFAULT" />
    209                 <category android:name="com.android.internal.category.PLATLOGO" />
    210             </intent-filter>
    211         </activity>
    212 
    213         <!-- a gallery of delicious treats -->
    214         <service
    215             android:name=".DessertCaseDream"
    216             android:exported="true"
    217             android:label="@string/dessert_case"
    218             android:enabled="false"
    219             android:process=":sweetsweetdesserts"
    220             >
    221             <intent-filter>
    222                 <action android:name="android.service.dreams.DreamService" />
    223                 <category android:name="android.intent.category.DEFAULT" />
    224             </intent-filter>
    225         </service>
    226 
    227         <activity android:name=".Somnambulator"
    228             android:label="@string/start_dreams"
    229             android:icon="@mipmap/ic_launcher_dreams"
    230             android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
    231             android:exported="true"
    232             android:excludeFromRecents="true"
    233             >
    234             <!--
    235             <intent-filter>
    236                 <action android:name="android.intent.action.CREATE_SHORTCUT" />
    237                 <category android:name="android.intent.category.DEFAULT" />
    238             </intent-filter>
    239             -->
    240             <intent-filter>
    241                 <action android:name="android.intent.action.MAIN" />
    242                 <category android:name="android.intent.category.DEFAULT" />
    243                 <category android:name="android.intent.category.DESK_DOCK" />
    244             </intent-filter>
    245         </activity>
    246     </application>
    247 </manifest>
    248