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="23" /> 10 11 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 12 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 13 <uses-permission android:name="android.permission.BACKUP" /> 14 <uses-permission android:name="android.permission.BLUETOOTH" /> 15 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 16 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> 17 <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" /> 18 <uses-permission android:name="android.permission.DELETE_CACHE_FILES" /> 19 <uses-permission android:name="android.permission.DUMP" /> 20 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" /> 21 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" /> 22 <uses-permission android:name="android.permission.GET_PACKAGE_SIZE" /> 23 <uses-permission android:name="android.permission.INJECT_EVENTS" /> 24 <uses-permission android:name="android.permission.INTERNET" /> 25 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> 26 <uses-permission android:name="android.permission.MANAGE_USERS" /> 27 <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" /> 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_MEDIA_STORAGE" /> 36 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 37 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> 38 <application 39 android:icon="@drawable/logo_settings_color_48dp" 40 android:label="@string/settings_app_name" 41 android:banner="@drawable/ic_launcher_banner_settings" 42 android:supportsRtl="true" 43 android:theme="@style/Theme.Settings" 44 android:usesCleartextTraffic="true" 45 android:defaultToDeviceProtectedStorage="true" 46 android:directBootAware="true"> 47 48 <activity 49 android:name=".MainSettings" 50 android:excludeFromRecents="true" 51 android:theme="@style/Theme.Settings.Transparent" 52 android:configChanges="keyboard|keyboardHidden|navigation" 53 android:label="@string/settings_app_name" > 54 <intent-filter> 55 <action android:name="android.intent.action.MAIN" /> 56 <action android:name="android.settings.SETTINGS" /> 57 <category android:name="android.intent.category.DEFAULT" /> 58 </intent-filter> 59 60 <!-- Intent filter used to display this activity as a settings 61 entry point in the LeanbackLauncher --> 62 <intent-filter 63 android:priority="3" 64 android:label="@string/launcher_settings_app_name" 65 android:icon="@drawable/ic_settings_launcher_icon" > 66 <action android:name="android.intent.action.MAIN" /> 67 <category android:name="android.intent.category.LEANBACK_SETTINGS" /> 68 </intent-filter> 69 </activity> 70 71 <!-- WifiSetupActivity may be (usually is) started from setup so theme is 72 determined at runtime --> 73 <activity 74 android:name=".connectivity.setup.WifiSetupActivity" 75 android:clearTaskOnLaunch="true" 76 android:excludeFromRecents="true" 77 android:theme="@style/Theme.Setup" 78 android:configChanges="keyboard|keyboardHidden|navigation" > 79 <intent-filter> 80 <action android:name="android.intent.action.MAIN" /> 81 <action android:name="com.android.net.wifi.SETUP_WIFI_NETWORK" /> 82 <!-- TODO remove custom action when stop including /packages/apps/Settings --> 83 <action android:name="com.android.net.wifi.CANVAS_SETUP_WIFI_NETWORK" /> 84 85 <category android:name="android.intent.category.DEFAULT" /> 86 </intent-filter> 87 </activity> 88 <activity 89 android:name=".connectivity.WifiConnectionActivity" 90 android:clearTaskOnLaunch="true" 91 android:configChanges="keyboard|keyboardHidden|navigation" 92 android:excludeFromRecents="true" 93 android:exported="true" 94 android:theme="@style/Theme.Leanback.FormWizard.Solid" /> 95 <activity 96 android:name=".connectivity.EditProxySettingsActivity" 97 android:clearTaskOnLaunch="true" 98 android:configChanges="keyboard|keyboardHidden|navigation" 99 android:excludeFromRecents="true" 100 android:theme="@style/Theme.Leanback.FormWizard.Solid" /> 101 <activity 102 android:name=".connectivity.EditIpSettingsActivity" 103 android:clearTaskOnLaunch="true" 104 android:configChanges="keyboard|keyboardHidden|navigation" 105 android:excludeFromRecents="true" 106 android:theme="@style/Theme.Leanback.FormWizard.Solid" /> 107 <activity 108 android:name=".connectivity.AddWifiNetworkActivity" 109 android:clearTaskOnLaunch="true" 110 android:configChanges="keyboard|keyboardHidden|navigation" 111 android:excludeFromRecents="true" 112 android:exported="true" 113 android:theme="@style/Theme.Leanback.FormWizard.Solid" /> 114 <!-- WpsConnectionActivity may be started from setup so theme 115 is determined at runtime --> 116 <activity 117 android:name=".connectivity.WpsConnectionActivity" 118 android:configChanges="keyboard|keyboardHidden|navigation" 119 android:excludeFromRecents="true" 120 android:exported="true" /> 121 <activity 122 android:name=".accounts.AccountSyncActivity" 123 android:theme="@style/Theme.Settings.Transparent" 124 android:configChanges="keyboard|keyboardHidden|navigation" 125 android:excludeFromRecents="true" 126 android:exported="true" > 127 <intent-filter> 128 <action android:name="android.intent.action.MAIN" /> 129 <action android:name="android.settings.ACCOUNT_SYNC_SETTINGS" /> 130 131 <category android:name="android.intent.category.DEFAULT" /> 132 </intent-filter> 133 </activity> 134 <activity 135 android:name=".accounts.RemoveAccountDialog" 136 android:configChanges="keyboard|keyboardHidden|navigation" 137 android:excludeFromRecents="true" /> 138 <activity 139 android:name=".accounts.AddAccountWithTypeActivity" 140 android:excludeFromRecents="true" 141 android:exported="true" > 142 <intent-filter> 143 <action android:name="android.settings.ADD_ACCOUNT_SETTINGS" /> 144 145 <category android:name="android.intent.category.DEFAULT" /> 146 </intent-filter> 147 </activity> 148 <activity 149 android:name=".device.apps.AppsActivity" 150 android:theme="@style/Theme.Settings.Transparent" 151 android:configChanges="keyboard|keyboardHidden|navigation" 152 android:excludeFromRecents="true" 153 android:exported="true" > 154 <intent-filter> 155 <action android:name="android.intent.action.MAIN" /> 156 <action android:name="android.settings.APPLICATION_SETTINGS" /> 157 <action android:name="android.settings.MANAGE_APPLICATIONS_SETTINGS" /> 158 <action android:name="android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS" /> 159 160 <category android:name="android.intent.category.DEFAULT" /> 161 <category android:name="android.intent.category.VOICE_LAUNCH" /> 162 <category android:name="com.android.settings.SHORTCUT" /> 163 </intent-filter> 164 </activity> 165 <activity 166 android:name=".device.apps.AppManagementActivity" 167 android:theme="@style/Theme.Settings.Transparent" 168 android:configChanges="keyboard|keyboardHidden|navigation" 169 android:excludeFromRecents="true" 170 android:exported="true" > 171 <intent-filter android:priority="1"> 172 <action android:name="android.settings.APPLICATION_DETAILS_SETTINGS" /> 173 <category android:name="android.intent.category.DEFAULT" /> 174 <data android:scheme="package" /> 175 </intent-filter> 176 </activity> 177 <activity 178 android:name=".device.StorageResetActivity" 179 android:theme="@style/Theme.Settings.Transparent" 180 android:configChanges="keyboard|keyboardHidden|navigation" 181 android:excludeFromRecents="true" 182 android:exported="true"> 183 <intent-filter android:priority="1"> 184 <action android:name="android.settings.INTERNAL_STORAGE_SETTINGS" /> 185 <action android:name="android.settings.MEMORY_CARD_SETTINGS" /> 186 <category android:name="android.intent.category.DEFAULT" /> 187 </intent-filter> 188 <intent-filter> 189 <action android:name="android.intent.action.MAIN" /> 190 <category android:name="android.intent.category.DEFAULT" /> 191 <action android:name="android.intent.action.MANAGE_PACKAGE_STORAGE" /> 192 </intent-filter> 193 </activity> 194 <activity android:name=".device.storage.ResetActivity" 195 android:theme="@style/Theme.Settings.Transparent" 196 android:configChanges="keyboard|keyboardHidden|navigation" 197 android:excludeFromRecents="true" /> 198 <activity android:name=".connectivity.NetworkActivity" 199 android:theme="@style/Theme.Settings.Transparent" 200 android:configChanges="keyboard|keyboardHidden|navigation" 201 android:excludeFromRecents="true" 202 android:exported="true" > 203 204 <!-- Intent filter used to display this activity as a settings 205 entry point in the LeanbackLauncher --> 206 <intent-filter 207 android:priority="2" 208 android:label="@string/launcher_network_app_name" 209 android:icon="@drawable/ic_settings_wifi_active_0_launcher" > 210 <action android:name="android.intent.action.MAIN" /> 211 <category android:name="android.intent.category.LEANBACK_SETTINGS" /> 212 </intent-filter> 213 214 <intent-filter> 215 <action android:name="android.settings.WIFI_SETTINGS" /> 216 <category android:name="android.intent.category.DEFAULT" /> 217 <category android:name="android.intent.category.LEANBACK_SETTINGS" /> 218 </intent-filter> 219 </activity> 220 <activity 221 android:name=".system.SecurityActivity" 222 android:theme="@style/Theme.Settings.Transparent" 223 android:configChanges="keyboard|keyboardHidden|navigation" 224 android:excludeFromRecents="true" 225 android:exported="true" > 226 <intent-filter> 227 <action android:name="android.settings.SECURITY_SETTINGS" /> 228 229 <category android:name="android.intent.category.DEFAULT" /> 230 </intent-filter> 231 </activity> 232 <activity-alias 233 android:name=".users.RestrictedProfileActivityLauncherEntry" 234 android:enabled="false" 235 android:excludeFromRecents="true" 236 android:exported="true" 237 android:targetActivity=".system.SecurityActivity" > 238 239 <!-- 240 Intent filter used to display this activity as a settings 241 entry point in the LeanbackLauncher 242 --> 243 <intent-filter 244 android:icon="@drawable/ic_settings_restricted_profile_launcher" 245 android:label="@string/launcher_restricted_profile_app_name" 246 android:priority="0" > 247 <action android:name="android.intent.action.MAIN" /> 248 249 <category android:name="android.intent.category.LEANBACK_SETTINGS" /> 250 </intent-filter> 251 </activity-alias> 252 <activity 253 android:name=".device.sound.SoundActivity" 254 android:theme="@style/Theme.Settings.Transparent" 255 android:configChanges="keyboard|keyboardHidden|navigation" 256 android:excludeFromRecents="true" 257 android:exported="true" > 258 <intent-filter> 259 <action android:name="android.intent.action.MAIN" /> 260 <action android:name="com.android.settings.SOUND_SETTINGS" /> 261 <action android:name="android.settings.SOUND_SETTINGS" /> 262 263 <category android:name="android.intent.category.DEFAULT" /> 264 <category android:name="android.intent.category.VOICE_LAUNCH" /> 265 <category android:name="com.android.settings.SHORTCUT" /> 266 </intent-filter> 267 </activity> 268 <activity 269 android:name=".device.display.daydream.DaydreamActivity" 270 android:theme="@style/Theme.Settings.Transparent" 271 android:configChanges="keyboard|keyboardHidden|navigation" 272 android:excludeFromRecents="true" 273 android:exported="true" /> 274 <activity 275 android:name=".device.display.daydream.DaydreamVoiceAction" 276 android:excludeFromRecents="true" 277 android:exported="true" 278 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > 279 <intent-filter> 280 281 <!-- This intent is launched by the SLEEP voice action from Pano Search --> 282 <action android:name="com.google.android.pano.action.SLEEP" /> 283 284 <category android:name="android.intent.category.DEFAULT" /> 285 </intent-filter> 286 </activity> 287 <activity 288 android:name=".device.privacy.PrivacyActivity" 289 android:configChanges="keyboard|keyboardHidden|navigation" 290 android:excludeFromRecents="true" 291 android:exported="true" 292 android:theme="@android:style/Theme.NoDisplay" > 293 <intent-filter> 294 <action android:name="android.intent.action.MAIN" /> 295 <action android:name="android.settings.PRIVACY_SETTINGS" /> 296 297 <category android:name="android.intent.category.DEFAULT" /> 298 <category android:name="android.intent.category.VOICE_LAUNCH" /> 299 </intent-filter> 300 </activity> 301 <activity 302 android:name=".system.AccessibilityActivity" 303 android:theme="@style/Theme.Settings.Transparent" 304 android:configChanges="keyboard|keyboardHidden|navigation" 305 android:excludeFromRecents="true" 306 android:exported="true" /> 307 <activity 308 android:name=".system.CaptionSetupActivity" 309 android:configChanges="keyboard|keyboardHidden|navigation" 310 android:excludeFromRecents="true" 311 android:exported="true" > 312 <intent-filter> 313 <action android:name="android.settings.CAPTIONING_SETTINGS" /> 314 315 <category android:name="android.intent.category.DEFAULT" /> 316 </intent-filter> 317 </activity> 318 <activity 319 android:name=".system.DateTimeActivity" 320 android:theme="@style/Theme.Settings.Transparent" 321 android:configChanges="keyboard|keyboardHidden|navigation" 322 android:excludeFromRecents="true" 323 android:exported="true" > 324 <intent-filter> 325 <action android:name="android.settings.DATE_SETTINGS" /> 326 327 <category android:name="android.intent.category.DEFAULT" /> 328 </intent-filter> 329 </activity> 330 <activity 331 android:name=".system.SetDateTimeActivity" 332 android:configChanges="keyboard|keyboardHidden|navigation" 333 android:excludeFromRecents="true" 334 android:exported="false" /> 335 <activity 336 android:name=".system.LocationActivity" 337 android:theme="@style/Theme.Settings.Transparent" 338 android:configChanges="keyboard|keyboardHidden|navigation" 339 android:excludeFromRecents="true" 340 android:exported="true" > 341 <intent-filter> 342 <action android:name="android.intent.action.MAIN" /> 343 <action android:name="android.settings.LOCATION_SOURCE_SETTINGS" /> 344 <category android:name="android.intent.category.DEFAULT" /> 345 <category android:name="android.intent.category.VOICE_LAUNCH" /> 346 <category android:name="com.android.settings.SHORTCUT" /> 347 </intent-filter> 348 </activity> 349 <activity 350 android:name=".system.development.DevelopmentActivity" 351 android:theme="@style/Theme.Settings.Transparent" 352 android:configChanges="keyboard|keyboardHidden|navigation" 353 android:excludeFromRecents="true" 354 android:exported="true" > 355 <intent-filter> 356 <action android:name="android.intent.action.MAIN" /> 357 <action android:name="android.settings.APPLICATION_DEVELOPMENT_SETTINGS" /> 358 <action android:name="com.android.settings.APPLICATION_DEVELOPMENT_SETTINGS" /> 359 360 <category android:name="android.intent.category.DEFAULT" /> 361 </intent-filter> 362 </activity> 363 <activity android:name=".system.development.AppPicker" 364 android:configChanges="keyboard|keyboardHidden|navigation" 365 android:excludeFromRecents="true" 366 android:exported="false" /> 367 <activity 368 android:name=".system.KeyboardActivity" 369 android:theme="@style/Theme.Settings.Transparent" 370 android:configChanges="keyboard|keyboardHidden|navigation" 371 android:excludeFromRecents="true" 372 android:exported="true" > 373 <intent-filter> 374 <action android:name="android.intent.action.MAIN" /> 375 <action android:name="android.settings.INPUT_METHOD_SETTINGS" /> 376 377 <category android:name="android.intent.category.VOICE_LAUNCH" /> 378 <category android:name="android.intent.category.DEFAULT" /> 379 </intent-filter> 380 </activity> 381 <activity 382 android:name=".system.LanguageActivity" 383 android:theme="@style/Theme.Settings.Transparent" 384 android:configChanges="keyboard|keyboardHidden|navigation|locale" 385 android:excludeFromRecents="true" 386 android:exported="true" > 387 <intent-filter> 388 <action android:name="android.settings.LOCALE_SETTINGS" /> 389 390 <category android:name="android.intent.category.DEFAULT" /> 391 </intent-filter> 392 </activity> 393 <activity 394 android:name=".system.InputsActivity" 395 android:configChanges="keyboard|keyboardHidden|navigation" 396 android:excludeFromRecents="true" 397 android:exported="true" /> 398 <activity 399 android:name=".accessories.BluetoothAccessoryActivity" 400 android:theme="@style/Theme.Settings.Transparent" 401 android:configChanges="keyboard|keyboardHidden|navigation" 402 android:excludeFromRecents="true" 403 android:exported="true" /> 404 <activity 405 android:name=".accessories.AddAccessoryActivity" 406 android:configChanges="keyboard|keyboardHidden|navigation" 407 android:excludeFromRecents="true" 408 android:exported="true" 409 android:launchMode="singleTask" 410 android:taskAffinity="" 411 android:persistableMode="persistNever"> 412 <intent-filter> 413 <action android:name="com.google.android.intent.action.CONNECT_INPUT" /> 414 415 <category android:name="android.intent.category.DEFAULT" /> 416 </intent-filter> 417 </activity> 418 419 <receiver android:name=".accessories.BluetoothConnectionsManager" > 420 <intent-filter> 421 <action android:name="android.bluetooth.device.action.ACL_CONNECTED" /> 422 <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED" /> 423 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" /> 424 </intent-filter> 425 </receiver> 426 427 <receiver android:name=".accessories.BluetoothPairingRequest" > 428 <intent-filter> 429 <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" /> 430 </intent-filter> 431 </receiver> 432 433 <activity 434 android:name=".accessories.BluetoothPairingDialog" 435 android:configChanges="keyboard|keyboardHidden|navigation" 436 android:excludeFromRecents="true" 437 android:exported="true" > 438 <intent-filter> 439 <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" /> 440 441 <category android:name="android.intent.category.DEFAULT" /> 442 </intent-filter> 443 </activity> 444 <activity 445 android:name=".accessories.BluetoothDevicePickerActivity" 446 android:configChanges="keyboard|keyboardHidden|navigation" 447 android:excludeFromRecents="true" 448 android:exported="true" > 449 <intent-filter> 450 <action android:name="android.bluetooth.devicepicker.action.LAUNCH" /> 451 452 <category android:name="android.intent.category.DEFAULT" /> 453 </intent-filter> 454 </activity> 455 <activity 456 android:name=".about.AboutActivity" 457 android:theme="@style/Theme.Settings.Transparent" 458 android:excludeFromRecents="true" 459 android:exported="true" > 460 <intent-filter> 461 <action android:name="android.intent.action.MAIN" /> 462 <action android:name="android.settings.DEVICE_INFO_SETTINGS" /> 463 464 <category android:name="android.intent.category.DEFAULT" /> 465 <category android:name="android.intent.category.VOICE_LAUNCH" /> 466 </intent-filter> 467 </activity> 468 <!-- Runs in the phone process since it needs access to the Phone object --> 469 <activity android:name=".about.StatusActivity" 470 android:excludeFromRecents="true" 471 android:theme="@style/Theme.Settings.Transparent" 472 android:process="com.android.phone"> 473 <intent-filter> 474 <action android:name="android.intent.action.MAIN" /> 475 <category android:name="android.intent.category.DEFAULT" /> 476 <category android:name="android.intent.category.VOICE_LAUNCH" /> 477 </intent-filter> 478 </activity> 479 <activity 480 android:name=".about.LicenseActivity" 481 android:label="@string/about_legal_license" 482 android:excludeFromRecents="true" 483 android:exported="true" > 484 <intent-filter> 485 <action android:name="android.settings.LICENSE" /> 486 487 <category android:name="android.intent.category.DEFAULT" /> 488 </intent-filter> 489 </activity> 490 <activity 491 android:name=".name.DeviceNameSettingsActivity" 492 android:configChanges="keyboardHidden|navigation" 493 android:excludeFromRecents="true" > 494 <intent-filter> 495 <action android:name="android.settings.DEVICE_NAME" /> 496 <category android:name="android.intent.category.DEFAULT" /> 497 </intent-filter> 498 </activity> 499 500 <service android:name=".users.UserSwitchListenerService"/> 501 <receiver android:name=".users.UserSwitchListenerService$BootReceiver"> 502 <intent-filter> 503 <action android:name="android.intent.action.BOOT_COMPLETED"/> 504 </intent-filter> 505 </receiver> 506 507 <receiver android:name=".device.storage.NewStorageActivity$DiskReceiver"> 508 <intent-filter> 509 <action android:name="android.os.storage.action.DISK_SCANNED" /> 510 <action android:name="android.os.storage.action.VOLUME_STATE_CHANGED" /> 511 <action android:name="com.google.android.tungsten.setupwraith.TV_SETTINGS_POST_SETUP" /> 512 </intent-filter> 513 </receiver> 514 515 <service android:name=".device.storage.SettingsStorageService$Impl" 516 android:exported="false" /> 517 518 <activity android:name=".device.storage.NewStorageActivity" 519 android:excludeFromRecents="true" 520 android:exported="false" 521 android:taskAffinity="" /> 522 523 <activity android:name=".device.storage.UnmountActivity" 524 android:excludeFromRecents="true" 525 android:exported="false" /> 526 527 <activity android:name=".device.storage.FormatActivity" 528 android:excludeFromRecents="true" 529 android:exported="false" /> 530 531 <activity android:name=".device.storage.MigrateStorageActivity" 532 android:excludeFromRecents="true" 533 android:exported="false" /> 534 535 <activity android:name=".device.apps.MoveAppActivity" 536 android:excludeFromRecents="true" 537 android:exported="false" /> 538 539 <activity android:name=".accessories.BluetoothRequestPermissionActivity" 540 android:label="@string/bluetooth_permission_request" 541 android:excludeFromRecents="true" 542 android:permission="android.permission.BLUETOOTH" 543 android:theme="@android:style/Theme.NoDisplay"> 544 <intent-filter android:priority="1"> 545 <action android:name="android.bluetooth.adapter.action.REQUEST_DISCOVERABLE" /> 546 <action android:name="android.bluetooth.adapter.action.REQUEST_ENABLE" /> 547 <category android:name="android.intent.category.DEFAULT" /> 548 </intent-filter> 549 </activity> 550 551 <!-- Triggered when user-selected home app isn't encryption aware --> 552 <activity android:name=".system.FallbackHome" 553 android:excludeFromRecents="true" 554 android:theme="@style/FallbackHome"> 555 <intent-filter android:priority="-1000"> 556 <action android:name="android.intent.action.MAIN" /> 557 <category android:name="android.intent.category.HOME" /> 558 <category android:name="android.intent.category.DEFAULT" /> 559 </intent-filter> 560 </activity> 561 </application> 562 563 </manifest> 564