Home | History | Annotate | Download | only in Settings
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      3     package="com.android.tv.settings"
      4     android:sharedUserId="android.uid.system"
      5     android:versionCode="1"
      6     android:versionName="1.0" >
      7 
      8     <uses-sdk
      9         android:minSdkVersion="14"
     10         android:targetSdkVersion="19" />
     11 
     12     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     13     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     14     <uses-permission android:name="android.permission.BACKUP" />
     15     <uses-permission android:name="android.permission.BLUETOOTH" />
     16     <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
     17     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
     18     <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
     19     <uses-permission android:name="android.permission.DELETE_CACHE_FILES" />
     20     <uses-permission android:name="android.permission.DUMP" />
     21     <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
     22     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
     23     <uses-permission android:name="android.permission.GET_PACKAGE_SIZE" />
     24     <uses-permission android:name="android.permission.INJECT_EVENTS" />
     25     <uses-permission android:name="android.permission.INTERNET" />
     26     <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
     27     <uses-permission android:name="android.permission.MANAGE_USERS" />
     28     <uses-permission android:name="android.permission.READ_CONTACTS" />
     29     <uses-permission android:name="android.permission.REBOOT" />
     30     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
     31     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
     32     <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
     33     <uses-permission android:name="android.permission.SET_TIME" />
     34     <uses-permission android:name="android.permission.SET_TIME_ZONE" />
     35     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
     36     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
     37     <application
     38         android:icon="@drawable/ic_launcher_settings"
     39         android:label="@string/settings_app_name"
     40         android:banner="@drawable/ic_launcher_banner_settings"
     41         android:theme="@style/Theme.Settings" >
     42 
     43         <activity
     44             android:name=".MainSettings"
     45             android:configChanges="keyboard|keyboardHidden|navigation"
     46             android:label="@string/settings_app_name" >
     47             <intent-filter>
     48                 <action android:name="android.intent.action.MAIN" />
     49                 <action android:name="android.settings.SETTINGS" />
     50                 <category android:name="android.intent.category.DEFAULT" />
     51             </intent-filter>
     52 
     53             <!-- Intent filter used to display this activity as a settings
     54                  entry point in the LeanbackLauncher -->
     55             <intent-filter
     56                 android:priority="3"
     57                 android:label="@string/launcher_settings_app_name"
     58                 android:icon="@drawable/ic_settings_launcher_icon" >
     59                 <action android:name="android.intent.action.MAIN" />
     60                 <category android:name="android.intent.category.LEANBACK_SETTINGS" />
     61             </intent-filter>
     62         </activity>
     63 
     64         <!-- WifiSetupActivity may be (usually is) started from setup so theme is
     65              determined at runtime -->
     66         <activity
     67             android:name=".connectivity.setup.WifiSetupActivity"
     68             android:clearTaskOnLaunch="true"
     69             android:configChanges="keyboard|keyboardHidden|navigation" >
     70             <intent-filter>
     71                 <action android:name="android.intent.action.MAIN" />
     72                 <action android:name="com.android.net.wifi.SETUP_WIFI_NETWORK" />
     73                 <!-- TODO remove custom action when stop including /packages/apps/Settings -->
     74                 <action android:name="com.android.net.wifi.CANVAS_SETUP_WIFI_NETWORK" />
     75 
     76                 <category android:name="android.intent.category.DEFAULT" />
     77             </intent-filter>
     78         </activity>
     79         <activity
     80             android:name=".connectivity.WifiConnectionActivity"
     81             android:clearTaskOnLaunch="true"
     82             android:configChanges="keyboard|keyboardHidden|navigation"
     83             android:exported="true"
     84             android:theme="@style/Theme.Leanback.FormWizard.Solid" />
     85         <activity
     86             android:name=".connectivity.EditProxySettingsActivity"
     87             android:clearTaskOnLaunch="true"
     88             android:configChanges="keyboard|keyboardHidden|navigation"
     89             android:theme="@style/Theme.Leanback.FormWizard.Solid" />
     90         <activity
     91             android:name=".connectivity.EditIpSettingsActivity"
     92             android:clearTaskOnLaunch="true"
     93             android:configChanges="keyboard|keyboardHidden|navigation"
     94             android:theme="@style/Theme.Leanback.FormWizard.Solid" />
     95         <activity
     96             android:name=".connectivity.AddWifiNetworkActivity"
     97             android:clearTaskOnLaunch="true"
     98             android:configChanges="keyboard|keyboardHidden|navigation"
     99             android:exported="true"
    100             android:theme="@style/Theme.Leanback.FormWizard.Solid" />
    101         <activity
    102             android:name=".connectivity.WifiNetworksActivity"
    103             android:configChanges="keyboard|keyboardHidden|navigation"
    104             android:exported="true" />
    105         <!-- WpsConnectionActivity may be started from setup so theme
    106              is determined at runtime -->
    107         <activity
    108             android:name=".connectivity.WpsConnectionActivity"
    109             android:configChanges="keyboard|keyboardHidden|navigation"
    110             android:exported="true" />
    111         <activity
    112             android:name=".accounts.AccountSettingsActivity"
    113             android:configChanges="keyboard|keyboardHidden|navigation"
    114             android:exported="true" >
    115             <intent-filter>
    116                 <action android:name="android.settings.ADD_ACCOUNT_SETTINGS" />
    117 
    118                 <category android:name="android.intent.category.DEFAULT" />
    119             </intent-filter>
    120         </activity>
    121         <activity
    122             android:name=".accounts.AccountSyncSettings"
    123             android:configChanges="keyboard|keyboardHidden|navigation"
    124             android:exported="true" >
    125             <intent-filter>
    126                 <action android:name="android.intent.action.MAIN" />
    127                 <action android:name="android.settings.ACCOUNT_SYNC_SETTINGS" />
    128 
    129                 <category android:name="android.intent.category.DEFAULT" />
    130             </intent-filter>
    131         </activity>
    132         <activity
    133             android:name=".accounts.RemoveAccountDialog"
    134             android:configChanges="keyboard|keyboardHidden|navigation" />
    135         <activity
    136             android:name=".accounts.AddAccountWithTypeActivity"
    137             android:exported="true" />
    138         <activity
    139             android:name=".device.apps.AppsActivity"
    140             android:configChanges="keyboard|keyboardHidden|navigation"
    141             android:exported="true" >
    142             <intent-filter>
    143                 <action android:name="android.intent.action.MAIN" />
    144                 <action android:name="android.settings.APPLICATION_SETTINGS" />
    145                 <action android:name="android.settings.MANAGE_APPLICATIONS_SETTINGS" />
    146                 <action android:name="android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS" />
    147 
    148                 <category android:name="android.intent.category.DEFAULT" />
    149                 <category android:name="android.intent.category.VOICE_LAUNCH" />
    150                 <category android:name="com.android.settings.SHORTCUT" />
    151             </intent-filter>
    152         </activity>
    153         <activity
    154             android:name=".device.apps.AppManagementActivity"
    155             android:configChanges="keyboard|keyboardHidden|navigation"
    156             android:exported="true" />
    157         <activity
    158             android:name=".device.storage.StorageActivity"
    159             android:configChanges="keyboard|keyboardHidden|navigation"
    160             android:exported="true" />
    161         <activity
    162             android:name=".device.StorageResetActivity"
    163             android:configChanges="keyboard|keyboardHidden|navigation"
    164             android:exported="true" />
    165         <activity
    166             android:name=".connectivity.NetworkActivity"
    167             android:configChanges="keyboard|keyboardHidden|navigation"
    168             android:exported="true" >
    169 
    170             <!-- Intent filter used to display this activity as a settings
    171                  entry point in the LeanbackLauncher -->
    172             <intent-filter
    173                 android:priority="2"
    174                 android:label="@string/launcher_network_app_name"
    175                 android:icon="@drawable/ic_settings_wifi_0" >
    176                 <action android:name="android.intent.action.MAIN" />
    177                 <category android:name="android.intent.category.LEANBACK_SETTINGS" />
    178             </intent-filter>
    179 
    180             <intent-filter>
    181                 <action android:name="android.settings.WIFI_SETTINGS" />
    182                 <category android:name="android.intent.category.DEFAULT" />
    183                 <category android:name="android.intent.category.LEANBACK_SETTINGS" />
    184             </intent-filter>
    185         </activity>
    186         <activity
    187             android:name=".users.RestrictedProfileActivity"
    188             android:configChanges="keyboard|keyboardHidden|navigation"
    189             android:exported="true"
    190             android:theme="@style/Theme.Leanback.FormWizard.Solid" />
    191         <activity-alias
    192             android:name=".users.RestrictedProfileActivityLauncherEntry"
    193             android:enabled="false"
    194             android:exported="true"
    195             android:targetActivity=".users.RestrictedProfileActivity" >
    196 
    197             <!--
    198                  Intent filter used to display this activity as a settings
    199                  entry point in the LeanbackLauncher
    200             -->
    201             <intent-filter
    202                 android:icon="@drawable/ic_settings_restricted_profile_launcher"
    203                 android:label="@string/launcher_restricted_profile_app_name"
    204                 android:priority="0" >
    205                 <action android:name="android.intent.action.MAIN" />
    206 
    207                 <category android:name="android.intent.category.LEANBACK_SETTINGS" />
    208             </intent-filter>
    209         </activity-alias>
    210         <activity
    211             android:name=".device.sound.SoundActivity"
    212             android:configChanges="keyboard|keyboardHidden|navigation"
    213             android:exported="true" >
    214             <intent-filter>
    215                 <action android:name="android.intent.action.MAIN" />
    216                 <action android:name="com.android.settings.SOUND_SETTINGS" />
    217                 <action android:name="android.settings.SOUND_SETTINGS" />
    218 
    219                 <category android:name="android.intent.category.DEFAULT" />
    220                 <category android:name="android.intent.category.VOICE_LAUNCH" />
    221                 <category android:name="com.android.settings.SHORTCUT" />
    222             </intent-filter>
    223         </activity>
    224         <activity
    225             android:name=".device.display.DisplayActivity"
    226             android:configChanges="keyboard|keyboardHidden|navigation"
    227             android:exported="true" >
    228             <intent-filter>
    229                 <action android:name="android.intent.action.MAIN" />
    230                 <action android:name="com.android.settings.DISPLAY_SETTINGS" />
    231                 <action android:name="android.settings.DISPLAY_SETTINGS" />
    232 
    233                 <category android:name="android.intent.category.DEFAULT" />
    234                 <category android:name="android.intent.category.VOICE_LAUNCH" />
    235                 <category android:name="com.android.settings.SHORTCUT" />
    236             </intent-filter>
    237         </activity>
    238         <activity
    239             android:name=".device.display.widi.WifiDisplayActivity"
    240             android:configChanges="keyboard|keyboardHidden|navigation"
    241             android:exported="true" />
    242         <activity
    243             android:name=".device.display.wallpaper.WallpaperActivity"
    244             android:configChanges="keyboard|keyboardHidden|navigation"
    245             android:exported="true" />
    246         <activity
    247             android:name=".device.display.daydream.DaydreamActivity"
    248             android:configChanges="keyboard|keyboardHidden|navigation"
    249             android:exported="true" />
    250         <activity
    251             android:name=".device.display.daydream.DaydreamVoiceAction"
    252             android:exported="true"
    253             android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
    254             <intent-filter>
    255 
    256                 <!-- This intent is launched by the SLEEP voice action from Pano Search -->
    257                 <action android:name="com.google.android.pano.action.SLEEP" />
    258 
    259                 <category android:name="android.intent.category.DEFAULT" />
    260             </intent-filter>
    261         </activity>
    262         <activity
    263             android:name=".device.privacy.PrivacyActivity"
    264             android:configChanges="keyboard|keyboardHidden|navigation"
    265             android:exported="true" >
    266             <intent-filter>
    267                 <action android:name="android.intent.action.MAIN" />
    268                 <action android:name="android.settings.PRIVACY_SETTINGS" />
    269 
    270                 <category android:name="android.intent.category.DEFAULT" />
    271                 <category android:name="android.intent.category.VOICE_LAUNCH" />
    272             </intent-filter>
    273         </activity>
    274         <activity
    275             android:name=".system.AccessibilityActivity"
    276             android:configChanges="keyboard|keyboardHidden|navigation"
    277             android:exported="true" />
    278         <activity
    279             android:name=".system.CaptionSetupActivity"
    280             android:configChanges="keyboard|keyboardHidden|navigation"
    281             android:exported="true" >
    282             <intent-filter>
    283                 <action android:name="android.settings.CAPTIONING_SETTINGS" />
    284 
    285                 <category android:name="android.intent.category.DEFAULT" />
    286             </intent-filter>
    287         </activity>
    288         <activity
    289             android:name=".system.DateTimeActivity"
    290             android:configChanges="keyboard|keyboardHidden|navigation"
    291             android:exported="true" >
    292             <intent-filter>
    293                 <action android:name="android.settings.DATE_SETTINGS" />
    294 
    295                 <category android:name="android.intent.category.DEFAULT" />
    296             </intent-filter>
    297         </activity>
    298         <activity
    299             android:name=".system.LocationActivity"
    300             android:configChanges="keyboard|keyboardHidden|navigation"
    301             android:exported="true" >
    302             <intent-filter>
    303                 <action android:name="com.google.android.gsf.GOOGLE_LOCATION_SETTINGS" />
    304 
    305                 <category android:name="android.intent.category.DEFAULT" />
    306             </intent-filter>
    307         </activity>
    308         <activity
    309             android:name=".system.DeveloperOptionsActivity"
    310             android:configChanges="keyboard|keyboardHidden|navigation"
    311             android:exported="true" >
    312             <intent-filter>
    313                 <action android:name="android.intent.action.MAIN" />
    314                 <action android:name="android.settings.APPLICATION_DEVELOPMENT_SETTINGS" />
    315                 <action android:name="com.android.settings.APPLICATION_DEVELOPMENT_SETTINGS" />
    316 
    317                 <category android:name="android.intent.category.DEFAULT" />
    318             </intent-filter>
    319         </activity>
    320         <activity
    321             android:name=".system.KeyboardActivity"
    322             android:configChanges="keyboard|keyboardHidden|navigation"
    323             android:exported="true" >
    324             <intent-filter>
    325                 <action android:name="android.intent.action.MAIN" />
    326                 <action android:name="android.settings.INPUT_METHOD_SETTINGS" />
    327 
    328                 <category android:name="android.intent.category.VOICE_LAUNCH" />
    329                 <category android:name="android.intent.category.DEFAULT" />
    330             </intent-filter>
    331         </activity>
    332         <activity
    333             android:name=".system.LanguageActivity"
    334             android:configChanges="keyboard|keyboardHidden|navigation|locale"
    335             android:exported="true" >
    336             <intent-filter>
    337                 <action android:name="android.settings.LOCALE_SETTINGS" />
    338 
    339                 <category android:name="android.intent.category.DEFAULT" />
    340             </intent-filter>
    341         </activity>
    342         <activity
    343             android:name=".system.SecurityActivity"
    344             android:configChanges="keyboard|keyboardHidden|navigation"
    345             android:exported="true" >
    346             <intent-filter>
    347                 <action android:name="android.settings.SECURITY_SETTINGS" />
    348 
    349                 <category android:name="android.intent.category.DEFAULT" />
    350             </intent-filter>
    351         </activity>
    352         <activity
    353             android:name=".system.InputsActivity"
    354             android:configChanges="keyboard|keyboardHidden|navigation"
    355             android:exported="true" />
    356         <activity
    357             android:name=".system.InputsCustomLabelActivity"
    358             android:configChanges="keyboard|keyboardHidden|navigation"
    359             android:exported="true" />
    360         <activity
    361             android:name=".accessories.BluetoothAccessoryActivity"
    362             android:configChanges="keyboard|keyboardHidden|navigation"
    363             android:exported="true" />
    364         <activity
    365             android:name=".accessories.TestImeActivity"
    366             android:configChanges="keyboard|keyboardHidden|navigation"
    367             android:exported="true" />
    368         <activity
    369             android:name=".accessories.AddAccessoryActivity"
    370             android:configChanges="keyboard|keyboardHidden|navigation"
    371             android:exported="true"
    372             android:launchMode="singleTop" >
    373             <intent-filter>
    374                 <action android:name="com.google.android.intent.action.CONNECT_INPUT" />
    375 
    376                 <category android:name="android.intent.category.DEFAULT" />
    377             </intent-filter>
    378         </activity>
    379 
    380         <receiver android:name=".accessories.BluetoothPairingRequest" >
    381             <intent-filter>
    382                 <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
    383             </intent-filter>
    384         </receiver>
    385 
    386         <activity
    387             android:name=".accessories.BluetoothPairingDialog"
    388             android:configChanges="keyboard|keyboardHidden|navigation"
    389             android:excludeFromRecents="true"
    390             android:exported="true" >
    391             <intent-filter>
    392                 <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
    393 
    394                 <category android:name="android.intent.category.DEFAULT" />
    395             </intent-filter>
    396         </activity>
    397         <activity
    398             android:name=".accessories.BluetoothDevicePickerActivity"
    399             android:configChanges="keyboard|keyboardHidden|navigation"
    400             android:excludeFromRecents="true"
    401             android:exported="true" >
    402             <intent-filter>
    403                 <action android:name="android.bluetooth.devicepicker.action.LAUNCH" />
    404 
    405                 <category android:name="android.intent.category.DEFAULT" />
    406             </intent-filter>
    407         </activity>
    408         <activity
    409             android:name=".about.AboutActivity"
    410             android:exported="true" >
    411             <intent-filter>
    412                 <action android:name="android.intent.action.MAIN" />
    413                 <action android:name="android.settings.DEVICE_INFO_SETTINGS" />
    414 
    415                 <category android:name="android.intent.category.DEFAULT" />
    416                 <category android:name="android.intent.category.VOICE_LAUNCH" />
    417             </intent-filter>
    418         </activity>
    419         <activity
    420             android:name=".about.LicenseActivity"
    421             android:exported="true" >
    422             <intent-filter>
    423                 <action android:name="android.settings.LICENSE" />
    424 
    425                 <category android:name="android.intent.category.DEFAULT" />
    426             </intent-filter>
    427         </activity>
    428         <activity
    429             android:name=".resolver.ResolverActivity"
    430             android:excludeFromRecents="true"
    431             android:finishOnCloseSystemDialogs="true"
    432             android:launchMode="singleTop" />
    433         <activity
    434             android:name=".resolver.ChooserActivity"
    435             android:excludeFromRecents="true"
    436             android:finishOnCloseSystemDialogs="true"
    437             android:launchMode="singleTop" >
    438             <intent-filter android:priority="1" >
    439                 <action android:name="android.intent.action.CHOOSER" />
    440 
    441                 <category android:name="android.intent.category.DEFAULT" />
    442             </intent-filter>
    443         </activity>
    444         <activity
    445                 android:name=".name.DeviceNameSettingsActivity"
    446                 android:configChanges="keyboardHidden|navigation"
    447                 android:theme="@style/Theme.Leanback.FormWizard.Solid" >
    448                 <intent-filter>
    449                     <action android:name="android.settings.DEVICE_NAME" />
    450                     <category android:name="android.intent.category.DEFAULT" />
    451                 </intent-filter>
    452         </activity>
    453 
    454         <service android:name=".users.UserSwitchListenerService"/>
    455         <receiver android:name=".users.UserSwitchListenerService$BootReceiver">
    456             <intent-filter>
    457                   <action android:name="android.intent.action.BOOT_COMPLETED"/>
    458             </intent-filter>
    459         </receiver>
    460     </application>
    461 
    462 </manifest>
    463