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