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_DEBUGGING" />
27    <uses-permission android:name="android.permission.MANAGE_SCOPED_ACCESS_DIRECTORY_PERMISSIONS" />
28    <uses-permission android:name="android.permission.MANAGE_USERS" />
29    <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
30    <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" />
31    <uses-permission android:name="android.permission.PEERS_MAC_ADDRESS"/>
32    <uses-permission android:name="android.permission.READ_CONTACTS" />
33    <uses-permission android:name="android.permission.REBOOT" />
34    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
35    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
36    <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
37    <uses-permission android:name="android.permission.SUGGEST_MANUAL_TIME_AND_ZONE" />
38    <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
39    <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
40    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
41    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
42    <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
43    <uses-permission android:name="com.google.android.assistant.READ_HOTWORD_STATE" />
44    <uses-permission android:name="com.google.android.assistant.WRITE_HOTWORD_STATE" />
45
46    <application
47        android:icon="@drawable/logo_settings_color_48dp"
48        android:label="@string/settings_app_name"
49        android:banner="@drawable/ic_launcher_banner_settings"
50        android:supportsRtl="true"
51        android:theme="@style/Theme.Settings"
52        android:usesCleartextTraffic="true"
53        android:defaultToDeviceProtectedStorage="true"
54        android:directBootAware="true">
55
56        <activity
57            android:name=".MainSettings"
58            android:excludeFromRecents="true"
59            android:theme="@style/Theme.Settings.Transparent"
60            android:configChanges="keyboard|keyboardHidden|navigation"
61            android:label="@string/settings_app_name" >
62            <intent-filter>
63                <action android:name="android.intent.action.MAIN" />
64                <action android:name="android.settings.SETTINGS" />
65                <category android:name="android.intent.category.DEFAULT" />
66            </intent-filter>
67
68            <!-- Intent filter used to display this activity as a settings
69                 entry point in the LeanbackLauncher -->
70            <intent-filter
71                android:priority="3"
72                android:label="@string/launcher_settings_app_name"
73                android:icon="@drawable/ic_settings_launcher_icon" >
74                <action android:name="android.intent.action.MAIN" />
75                <category android:name="android.intent.category.LEANBACK_SETTINGS" />
76            </intent-filter>
77        </activity>
78
79        <!-- WifiSetupActivity may be (usually is) started from setup so theme is
80             determined at runtime -->
81        <activity
82            android:name=".connectivity.setup.WifiSetupActivity"
83            android:clearTaskOnLaunch="true"
84            android:excludeFromRecents="true"
85            android:theme="@style/Theme.Setup"
86            android:configChanges="keyboard|keyboardHidden|navigation" >
87            <intent-filter>
88                <action android:name="android.intent.action.MAIN" />
89                <action android:name="com.android.net.wifi.SETUP_WIFI_NETWORK" />
90                <!-- TODO remove custom action when stop including /packages/apps/Settings -->
91                <action android:name="com.android.net.wifi.CANVAS_SETUP_WIFI_NETWORK" />
92                <category android:name="android.intent.category.DEFAULT" />
93            </intent-filter>
94            <!--
95            Enabling this <intent-filter> will signal to Setup that WifiSetupActivity will handle
96            network connectivity (in that case Setup will launch us to handle network duty).
97            <intent-filter>
98                <action android:name="com.android.net.GET_CONNECTED" />
99                <category android:name="android.intent.category.DEFAULT" />
100            </intent-filter>
101            -->
102        </activity>
103
104        <activity
105            android:name=".connectivity.NetworkRequestDialogActivity"
106            android:theme="@style/Transparent"
107            android:excludeFromRecents="true"
108            android:launchMode="singleTop"
109            android:taskAffinity=".connectivity.NetworkRequestDialogActivity"
110            android:exported="true"
111            android:permission="android.permission.NETWORK_SETTINGS">
112            <intent-filter>
113                <action android:name="com.android.settings.wifi.action.NETWORK_REQUEST" />
114                <category android:name="android.intent.category.DEFAULT" />
115            </intent-filter>
116        </activity>
117
118        <activity
119            android:name=".connectivity.WifiConnectionActivity"
120            android:clearTaskOnLaunch="true"
121            android:configChanges="keyboard|keyboardHidden|navigation"
122            android:excludeFromRecents="true"
123            android:exported="true"
124            android:theme="@style/Theme.SettingsConnectivity" />
125        <activity
126            android:name=".connectivity.EditProxySettingsActivity"
127            android:clearTaskOnLaunch="true"
128            android:configChanges="keyboard|keyboardHidden|navigation"
129            android:excludeFromRecents="true"
130            android:theme="@style/Theme.SettingsConnectivity" />
131        <activity
132            android:name=".connectivity.EditIpSettingsActivity"
133            android:clearTaskOnLaunch="true"
134            android:configChanges="keyboard|keyboardHidden|navigation"
135            android:excludeFromRecents="true"
136            android:theme="@style/Theme.SettingsConnectivity" />
137        <activity
138            android:name=".connectivity.AddWifiNetworkActivity"
139            android:clearTaskOnLaunch="true"
140            android:configChanges="keyboard|keyboardHidden|navigation"
141            android:excludeFromRecents="true"
142            android:exported="true"
143            android:theme="@style/Theme.SettingsConnectivity" />
144        <activity
145            android:name=".accounts.AccountSyncActivity"
146            android:theme="@style/Theme.Settings.Transparent"
147            android:configChanges="keyboard|keyboardHidden|navigation"
148            android:excludeFromRecents="true"
149            android:exported="true" >
150            <intent-filter>
151                <action android:name="android.intent.action.MAIN" />
152                <action android:name="android.settings.ACCOUNT_SYNC_SETTINGS" />
153
154                <category android:name="android.intent.category.DEFAULT" />
155            </intent-filter>
156        </activity>
157        <activity
158            android:name=".accounts.RemoveAccountDialog"
159            android:configChanges="keyboard|keyboardHidden|navigation"
160            android:excludeFromRecents="true" />
161        <activity
162            android:name=".accounts.AddAccountWithTypeActivity"
163            android:excludeFromRecents="true"
164            android:exported="true" >
165            <intent-filter>
166                <action android:name="android.settings.ADD_ACCOUNT_SETTINGS" />
167
168                <category android:name="android.intent.category.DEFAULT" />
169            </intent-filter>
170        </activity>
171        <activity
172            android:name=".device.apps.AppsActivity"
173            android:theme="@style/Theme.Settings.Transparent"
174            android:configChanges="keyboard|keyboardHidden|navigation"
175            android:excludeFromRecents="true"
176            android:exported="true" >
177            <intent-filter>
178                <action android:name="android.intent.action.MAIN" />
179                <action android:name="android.settings.APPLICATION_SETTINGS" />
180                <action android:name="android.settings.MANAGE_APPLICATIONS_SETTINGS" />
181
182                <category android:name="android.intent.category.DEFAULT" />
183                <category android:name="android.intent.category.VOICE_LAUNCH" />
184                <category android:name="com.android.settings.SHORTCUT" />
185            </intent-filter>
186        </activity>
187        <activity
188            android:name=".device.apps.AllAppsActivity"
189            android:theme="@style/Theme.Settings.Transparent"
190            android:configChanges="keyboard|keyboardHidden|navigation"
191            android:excludeFromRecents="true"
192            android:exported="true" >
193            <intent-filter>
194                <action android:name="android.intent.action.MAIN" />
195                <action android:name="android.settings.APPLICATION_SETTINGS" />
196                <action android:name="android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS" />
197                <category android:name="android.intent.category.DEFAULT" />
198                <category android:name="android.intent.category.VOICE_LAUNCH" />
199                <category android:name="com.android.settings.SHORTCUT" />
200            </intent-filter>
201        </activity>
202
203        <activity android:name=".device.apps.specialaccess.PictureInPictureActivity"
204                  android:theme="@style/Theme.Settings.Transparent"
205                  android:taskAffinity=""
206                  android:excludeFromRecents="true"
207                  android:exported="true">
208            <intent-filter android:priority="1">
209                <category android:name="android.intent.category.DEFAULT" />
210                <action android:name="android.settings.PICTURE_IN_PICTURE_SETTINGS" />
211            </intent-filter>
212        </activity>
213
214        <activity
215            android:name=".device.apps.AppManagementActivity"
216            android:theme="@style/Theme.Settings.Transparent"
217            android:configChanges="keyboard|keyboardHidden|navigation"
218            android:excludeFromRecents="true"
219            android:exported="true" >
220            <intent-filter android:priority="1">
221                <action android:name="android.settings.APPLICATION_DETAILS_SETTINGS" />
222                <category android:name="android.intent.category.DEFAULT" />
223                <data android:scheme="package" />
224            </intent-filter>
225        </activity>
226        <activity
227            android:name=".device.StorageResetActivity"
228            android:theme="@style/Theme.Settings.Transparent"
229            android:configChanges="keyboard|keyboardHidden|navigation"
230            android:excludeFromRecents="true"
231            android:exported="true">
232            <intent-filter android:priority="1">
233                <action android:name="android.settings.INTERNAL_STORAGE_SETTINGS" />
234                <action android:name="android.settings.MEMORY_CARD_SETTINGS" />
235                <category android:name="android.intent.category.DEFAULT" />
236            </intent-filter>
237            <intent-filter>
238                <action android:name="android.intent.action.MAIN" />
239                <category android:name="android.intent.category.DEFAULT" />
240                <action android:name="android.intent.action.MANAGE_PACKAGE_STORAGE" />
241                <action android:name="android.os.storage.action.MANAGE_STORAGE" />
242            </intent-filter>
243        </activity>
244        <activity android:name=".device.storage.ResetActivity"
245            android:theme="@style/Theme.Settings.Transparent"
246            android:configChanges="keyboard|keyboardHidden|navigation"
247            android:excludeFromRecents="true" />
248        <activity android:name=".connectivity.NetworkActivity"
249            android:theme="@style/Theme.Settings.Transparent"
250            android:configChanges="keyboard|keyboardHidden|navigation"
251            android:excludeFromRecents="true"
252            android:exported="true" >
253
254            <!-- Intent filter used to display this activity as a settings
255                 entry point in the LeanbackLauncher -->
256            <intent-filter
257                android:priority="2"
258                android:label="@string/launcher_network_app_name"
259                android:icon="@drawable/ic_settings_wifi_active_0_launcher" >
260                <action android:name="android.intent.action.MAIN" />
261                <category android:name="android.intent.category.LEANBACK_SETTINGS" />
262            </intent-filter>
263
264            <intent-filter>
265                <action android:name="android.settings.WIFI_SETTINGS" />
266                <category android:name="android.intent.category.DEFAULT" />
267                <category android:name="android.intent.category.LEANBACK_SETTINGS" />
268            </intent-filter>
269
270            <intent-filter android:priority="1">
271                <action android:name="android.settings.LOCATION_SCANNING_SETTINGS" />
272                <category android:name="android.intent.category.DEFAULT" />
273            </intent-filter>
274        </activity>
275        <activity
276            android:name=".system.SecurityActivity"
277            android:theme="@style/Theme.Settings.Transparent"
278            android:configChanges="keyboard|keyboardHidden|navigation"
279            android:excludeFromRecents="true"
280            android:exported="true" >
281            <intent-filter>
282                <action android:name="android.settings.SECURITY_SETTINGS" />
283
284                <category android:name="android.intent.category.DEFAULT" />
285            </intent-filter>
286        </activity>
287        <activity-alias
288            android:name=".users.RestrictedProfileActivityLauncherEntry"
289            android:enabled="false"
290            android:excludeFromRecents="true"
291            android:exported="true"
292            android:targetActivity=".system.SecurityActivity" >
293
294            <!--
295                 Intent filter used to display this activity as a settings
296                 entry point in the LeanbackLauncher
297            -->
298            <intent-filter
299                android:icon="@drawable/ic_settings_restricted_profile_launcher"
300                android:label="@string/launcher_restricted_profile_app_name"
301                android:priority="0" >
302                <action android:name="android.intent.action.MAIN" />
303
304                <category android:name="android.intent.category.LEANBACK_SETTINGS" />
305            </intent-filter>
306        </activity-alias>
307        <activity
308            android:name=".device.sound.SoundActivity"
309            android:theme="@style/Theme.Settings.Transparent"
310            android:configChanges="keyboard|keyboardHidden|navigation"
311            android:excludeFromRecents="true"
312            android:exported="true" >
313            <intent-filter>
314                <action android:name="android.intent.action.MAIN" />
315                <action android:name="com.android.settings.SOUND_SETTINGS" />
316                <action android:name="android.settings.SOUND_SETTINGS" />
317
318                <category android:name="android.intent.category.DEFAULT" />
319                <category android:name="android.intent.category.VOICE_LAUNCH" />
320                <category android:name="com.android.settings.SHORTCUT" />
321            </intent-filter>
322        </activity>
323        <activity
324            android:name=".device.display.daydream.DaydreamActivity"
325            android:theme="@style/Theme.Settings.Transparent"
326            android:configChanges="keyboard|keyboardHidden|navigation"
327            android:excludeFromRecents="true"
328            android:exported="true" />
329        <activity
330            android:name=".device.display.daydream.DaydreamVoiceAction"
331            android:excludeFromRecents="true"
332            android:exported="true"
333            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
334            <intent-filter>
335
336                <!-- This intent is launched by the SLEEP voice action from Pano Search -->
337                <action android:name="com.google.android.pano.action.SLEEP" />
338
339                <category android:name="android.intent.category.DEFAULT" />
340            </intent-filter>
341        </activity>
342        <activity
343            android:name=".device.privacy.PrivacyActivity"
344            android:configChanges="keyboard|keyboardHidden|navigation"
345            android:excludeFromRecents="true"
346            android:exported="true"
347            android:theme="@android:style/Theme.NoDisplay" >
348            <intent-filter>
349                <action android:name="android.intent.action.MAIN" />
350                <action android:name="android.settings.PRIVACY_SETTINGS" />
351
352                <category android:name="android.intent.category.DEFAULT" />
353                <category android:name="android.intent.category.VOICE_LAUNCH" />
354            </intent-filter>
355        </activity>
356        <activity
357            android:name=".system.CaptionSetupActivity"
358            android:configChanges="keyboard|keyboardHidden|navigation"
359            android:excludeFromRecents="true"
360            android:exported="true" >
361            <intent-filter>
362                <action android:name="android.settings.CAPTIONING_SETTINGS" />
363
364                <category android:name="android.intent.category.DEFAULT" />
365            </intent-filter>
366        </activity>
367        <activity
368            android:name=".system.DateTimeActivity"
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.settings.DATE_SETTINGS" />
375
376                <category android:name="android.intent.category.DEFAULT" />
377            </intent-filter>
378        </activity>
379        <activity
380            android:name=".system.LocationActivity"
381            android:theme="@style/Theme.Settings.Transparent"
382            android:configChanges="keyboard|keyboardHidden|navigation"
383            android:excludeFromRecents="true"
384            android:exported="true" >
385            <intent-filter>
386                <action android:name="android.intent.action.MAIN" />
387                <action android:name="android.settings.LOCATION_SOURCE_SETTINGS" />
388                <category android:name="android.intent.category.DEFAULT" />
389                <category android:name="android.intent.category.VOICE_LAUNCH" />
390                <category android:name="com.android.settings.SHORTCUT" />
391            </intent-filter>
392        </activity>
393        <activity
394            android:name=".system.development.DevelopmentActivity"
395            android:theme="@style/Theme.Settings.Transparent"
396            android:configChanges="keyboard|keyboardHidden|navigation"
397            android:excludeFromRecents="true"
398            android:exported="true" >
399            <intent-filter>
400                <action android:name="android.intent.action.MAIN" />
401                <action android:name="android.settings.APPLICATION_DEVELOPMENT_SETTINGS" />
402                <action android:name="com.android.settings.APPLICATION_DEVELOPMENT_SETTINGS" />
403
404                <category android:name="android.intent.category.DEFAULT" />
405            </intent-filter>
406        </activity>
407        <activity android:name=".system.development.AppPicker"
408            android:configChanges="keyboard|keyboardHidden|navigation"
409            android:excludeFromRecents="true"
410            android:exported="false" />
411        <activity
412            android:name=".inputmethod.KeyboardActivity"
413            android:theme="@style/Theme.Settings.Transparent"
414            android:configChanges="keyboard|keyboardHidden|navigation"
415            android:excludeFromRecents="true"
416            android:exported="true" >
417            <intent-filter>
418                <action android:name="android.intent.action.MAIN" />
419                <action android:name="android.settings.INPUT_METHOD_SETTINGS" />
420
421                <category android:name="android.intent.category.VOICE_LAUNCH" />
422                <category android:name="android.intent.category.DEFAULT" />
423            </intent-filter>
424        </activity>
425        <activity
426            android:name=".autofill.AutofillPickerActivity"
427            android:theme="@style/Theme.Settings.Transparent"
428            android:configChanges="keyboard|keyboardHidden|navigation"
429            android:excludeFromRecents="true"
430            android:launchMode="singleInstance"
431            android:exported="false">
432        </activity>
433        <activity
434            android:name=".autofill.AutofillPickerTrampolineActivity"
435            android:theme="@android:style/Theme.NoDisplay"
436            android:excludeFromRecents="true"
437            android:launchMode="singleInstance"
438            android:label="@string/title_select_autofill_service">
439            <intent-filter android:priority="1">
440                <action android:name="android.settings.REQUEST_SET_AUTOFILL_SERVICE" />
441                <category android:name="android.intent.category.DEFAULT" />
442                <data android:scheme="package" />
443            </intent-filter>
444        </activity>
445        <activity
446            android:name=".system.LanguageActivity"
447            android:theme="@style/Theme.Settings.Transparent"
448            android:configChanges="keyboard|keyboardHidden|navigation|locale"
449            android:excludeFromRecents="true"
450            android:exported="true" >
451            <intent-filter>
452                <action android:name="android.settings.LOCALE_SETTINGS" />
453
454                <category android:name="android.intent.category.DEFAULT" />
455            </intent-filter>
456        </activity>
457        <activity
458            android:name=".system.InputsActivity"
459            android:configChanges="keyboard|keyboardHidden|navigation"
460            android:excludeFromRecents="true"
461            android:exported="true" />
462        <activity
463            android:name=".accessories.BluetoothAccessoryActivity"
464            android:theme="@style/Theme.Settings.Transparent"
465            android:configChanges="keyboard|keyboardHidden|navigation"
466            android:excludeFromRecents="true"
467            android:exported="true" />
468        <activity
469            android:name=".accessories.AddAccessoryActivity"
470            android:configChanges="keyboard|keyboardHidden|navigation"
471            android:excludeFromRecents="true"
472            android:exported="true"
473            android:launchMode="singleTask"
474            android:taskAffinity=""
475            android:persistableMode="persistNever">
476            <intent-filter>
477                <action android:name="com.google.android.intent.action.CONNECT_INPUT" />
478
479                <category android:name="android.intent.category.DEFAULT" />
480            </intent-filter>
481        </activity>
482
483        <receiver android:name=".accessories.BluetoothPairingRequest" >
484            <intent-filter>
485                <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
486            </intent-filter>
487        </receiver>
488
489        <activity
490            android:name=".accessories.BluetoothPairingDialog"
491            android:configChanges="keyboard|keyboardHidden|navigation"
492            android:excludeFromRecents="true"
493            android:exported="true"
494            android:taskAffinity="" >
495            <intent-filter>
496                <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
497
498                <category android:name="android.intent.category.DEFAULT" />
499            </intent-filter>
500        </activity>
501        <activity
502            android:name=".accessories.BluetoothDevicePickerActivity"
503            android:configChanges="keyboard|keyboardHidden|navigation"
504            android:excludeFromRecents="true"
505            android:exported="true" >
506            <intent-filter>
507                <action android:name="android.bluetooth.devicepicker.action.LAUNCH" />
508
509                <category android:name="android.intent.category.DEFAULT" />
510            </intent-filter>
511        </activity>
512        <activity
513            android:name=".about.AboutActivity"
514            android:theme="@style/Theme.Settings.Transparent"
515            android:excludeFromRecents="true"
516            android:exported="true" >
517            <intent-filter>
518                <action android:name="android.intent.action.MAIN" />
519                <action android:name="android.settings.DEVICE_INFO_SETTINGS" />
520
521                <category android:name="android.intent.category.DEFAULT" />
522                <category android:name="android.intent.category.VOICE_LAUNCH" />
523            </intent-filter>
524        </activity>
525        <!-- Runs in the phone process since it needs access to the Phone object -->
526        <activity android:name=".about.StatusActivity"
527            android:excludeFromRecents="true"
528            android:theme="@style/Theme.Settings.Transparent"
529            android:process="com.android.phone">
530            <intent-filter>
531                <action android:name="android.intent.action.MAIN" />
532                <category android:name="android.intent.category.DEFAULT" />
533                <category android:name="android.intent.category.VOICE_LAUNCH" />
534            </intent-filter>
535        </activity>
536        <activity
537            android:name=".about.LicenseActivity"
538            android:label="@string/about_legal_license"
539            android:excludeFromRecents="true"
540            android:exported="true" >
541            <intent-filter>
542                <action android:name="android.settings.LICENSE" />
543
544                <category android:name="android.intent.category.DEFAULT" />
545            </intent-filter>
546        </activity>
547        <activity
548            android:name=".name.DeviceNameSettingsActivity"
549            android:configChanges="keyboardHidden|navigation"
550            android:excludeFromRecents="true" >
551                <intent-filter>
552                    <action android:name="android.settings.DEVICE_NAME" />
553                    <category android:name="android.intent.category.DEFAULT" />
554                </intent-filter>
555        </activity>
556        <activity android:name=".name.DeviceNameSuggestionActivity"
557                  android:excludeFromRecents="true">
558            <intent-filter>
559                <action android:name="android.intent.action.MAIN" />
560                <category android:name="com.android.settings.suggested.category.FIRST_IMPRESSION" />
561            </intent-filter>
562            <!--Default title for suggested setting-->
563            <meta-data android:name="com.android.settings.title"
564                       android:resource="@string/device_name_suggestion_title" />
565            <!--Default summary for suggested setting-->
566            <meta-data android:name="com.android.settings.summary"
567                       android:resource="@string/device_name_suggestion_summary" />
568            <!--Default icon for our suggested setting-->
569            <meta-data android:name="com.android.settings.icon"
570                       android:resource="@drawable/ic_device_name_suggestion" />
571        </activity>
572        <activity
573            android:name=".name.setup.DeviceNameFlowStartActivity"
574            android:configChanges="keyboardHidden|navigation"
575            android:theme="@style/SetupFlowGuidedStepTheme"
576            android:label="@string/device_name"
577            android:excludeFromRecents="true" >
578            <intent-filter>
579                <action android:name="android.settings.START_DEVICE_NAME_FLOW" />
580                <category android:name="android.intent.category.DEFAULT" />
581            </intent-filter>
582        </activity>
583
584        <service android:name=".users.UserSwitchListenerService"/>
585        <receiver android:name=".users.UserSwitchListenerService$BootReceiver">
586            <intent-filter>
587                  <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED"/>
588            </intent-filter>
589        </receiver>
590
591        <receiver android:name=".device.storage.DiskReceiver">
592            <intent-filter>
593                <action android:name="android.os.storage.action.VOLUME_STATE_CHANGED" />
594                <action android:name="com.google.android.tungsten.setupwraith.TV_SETTINGS_POST_SETUP" />
595            </intent-filter>
596        </receiver>
597
598        <service android:name=".device.storage.SettingsStorageService$Impl"
599            android:exported="false" />
600
601        <activity android:name=".device.storage.NewStorageActivity"
602            android:excludeFromRecents="true"
603            android:taskAffinity=""
604            android:exported="false">
605            <intent-filter>
606                <action android:name="com.android.tv.settings.action.NEW_STORAGE" />
607                <category android:name="android.intent.category.DEFAULT" />
608            </intent-filter>
609        </activity>
610
611        <activity android:name=".device.storage.UnmountActivity"
612            android:excludeFromRecents="true"
613            android:exported="false">
614            <intent-filter>
615                <action android:name="com.android.tv.settings.action.UNMOUNT_STORAGE" />
616                <category android:name="android.intent.category.DEFAULT" />
617            </intent-filter>
618        </activity>
619
620        <activity android:name=".device.storage.FormatActivity"
621            android:excludeFromRecents="true"
622            android:exported="false" />
623
624        <activity android:name=".device.storage.MigrateStorageActivity"
625            android:excludeFromRecents="true"
626            android:exported="false">
627            <intent-filter>
628                <action android:name="com.android.tv.settings.action.MIGRATE_STORAGE" />
629                <category android:name="android.intent.category.DEFAULT" />
630            </intent-filter>
631        </activity>
632
633        <activity android:name=".device.apps.MoveAppActivity"
634            android:excludeFromRecents="true"
635            android:exported="false">
636            <intent-filter>
637                <action android:name="com.android.tv.settings.action.MOVE_APP" />
638                <category android:name="android.intent.category.DEFAULT" />
639            </intent-filter>
640        </activity>
641
642        <activity android:name=".accessories.BluetoothRequestPermissionActivity"
643            android:label="@string/bluetooth_permission_request"
644            android:excludeFromRecents="true"
645            android:permission="android.permission.BLUETOOTH"
646            android:theme="@android:style/Theme.NoDisplay">
647            <intent-filter android:priority="1">
648                <action android:name="android.bluetooth.adapter.action.REQUEST_DISCOVERABLE" />
649                <action android:name="android.bluetooth.adapter.action.REQUEST_ENABLE" />
650                <category android:name="android.intent.category.DEFAULT" />
651            </intent-filter>
652        </activity>
653
654        <!-- Triggered when user-selected home app isn't encryption aware -->
655        <activity android:name=".system.FallbackHome"
656                  android:excludeFromRecents="true"
657                  android:theme="@style/FallbackHome"
658                  android:configChanges="locale|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection" >
659            <intent-filter android:priority="-1000">
660                <action android:name="android.intent.action.MAIN" />
661                <category android:name="android.intent.category.HOME" />
662                <category android:name="android.intent.category.DEFAULT" />
663            </intent-filter>
664        </activity>
665
666        <activity android:name=".inputmethod.InputMethodAndSubtypeEnablerActivity"
667                  android:label=""
668                  android:theme="@style/Theme.Settings.Transparent"
669                  android:clearTaskOnLaunch="true">
670            <intent-filter android:priority="1">
671                <action android:name="android.settings.INPUT_METHOD_SUBTYPE_SETTINGS" />
672                <category android:name="android.intent.category.DEFAULT" />
673            </intent-filter>
674            <intent-filter>
675                <action android:name="android.intent.action.MAIN" />
676                <category android:name="android.intent.category.VOICE_LAUNCH" />
677                <category android:name="android.intent.category.DEFAULT" />
678            </intent-filter>
679        </activity>
680
681        <activity android:name=".device.apps.specialaccess.ExternalSourcesActivity"
682                android:label="@string/install_other_apps"
683                android:theme="@style/Theme.Settings.Transparent"
684                android:taskAffinity="">
685            <intent-filter android:priority="1">
686                <action android:name="android.settings.MANAGE_UNKNOWN_APP_SOURCES" />
687                <category android:name="android.intent.category.DEFAULT" />
688            </intent-filter>
689            <intent-filter android:priority="1">
690                <action android:name="android.settings.MANAGE_UNKNOWN_APP_SOURCES" />
691                <category android:name="android.intent.category.DEFAULT" />
692                <data android:scheme="package" />
693            </intent-filter>
694        </activity>
695
696        <!-- Stub intent filters for CTS TODO: implement something useful -->
697        <activity android:name=".EmptyStubActivity"
698                  android:exported="true"
699                  android:excludeFromRecents="true"
700                  android:theme="@android:style/Theme.NoDisplay">
701            <intent-filter>
702                <action android:name="android.settings.WEBVIEW_SETTINGS" />
703                <category android:name="android.intent.category.DEFAULT" />
704            </intent-filter>
705            <intent-filter android:priority="1">
706                <action android:name="android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS" />
707                <category android:name="android.intent.category.DEFAULT" />
708            </intent-filter>
709            <intent-filter android:priority="1">
710                <action android:name="android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
711                <category android:name="android.intent.category.DEFAULT" />
712                <data android:scheme="package" />
713            </intent-filter>
714            <intent-filter android:priority="1">
715                <action android:name="android.settings.IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS" />
716                <category android:name="android.intent.category.DEFAULT" />
717                <data android:scheme="package" />
718            </intent-filter>
719            <intent-filter android:priority="1">
720                <action android:name="android.settings.MANAGE_DEFAULT_APPS_SETTINGS" />
721                <action android:name="android.settings.HOME_SETTINGS" />
722                <category android:name="android.intent.category.DEFAULT" />
723            </intent-filter>
724        </activity>
725
726        <!-- FileProvider to share a generated license html file.
727             Note that "com.android.settings.files" is set here as its authorities because a Uri
728             permission grant should be allowed to share a file with an external browser but it is
729             allowed only for Settings' authorities in ActivityManagerService.  -->
730        <provider android:name="androidx.core.content.FileProvider"
731                  android:authorities="com.android.settings.files"
732                  android:grantUriPermissions="true"
733                  android:exported="false">
734            <meta-data android:name="android.support.FILE_PROVIDER_PATHS"
735                       android:resource="@xml/file_paths" />
736        </provider>
737        <provider
738            android:name=".name.SuggestionContentProvider"
739            android:authorities="com.android.tv.settings.name"
740            android:exported="true" >
741            <intent-filter>
742                <action android:name="com.android.settings.action.SUGGESTION_STATE_PROVIDER" />
743            </intent-filter>
744        </provider>
745    </application>
746
747</manifest>
748