AndroidManifest.xml 171 KB
Newer Older
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.settings"
Ben Komalo's avatar
Ben Komalo committed
4
        coreApp="true"
5 6
        android:sharedUserId="android.uid.system">

7 8
    <original-package android:name="com.android.settings" />

9 10 11
    <protected-broadcast android:name="com.android.settings.CARRIER_PROVISIONING" />
    <protected-broadcast android:name="com.android.settings.TRIGGER_CARRIER_PROVISIONING" />

12
    <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
13
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
14
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
15 16
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
17
    <uses-permission android:name="android.permission.DEVICE_POWER" />
18 19 20 21 22
    <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
    <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
23
    <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
Nick Pelly's avatar
Nick Pelly committed
24
    <uses-permission android:name="android.permission.NFC" />
25 26 27 28
    <uses-permission android:name="android.permission.HARDWARE_TEST" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.MASTER_CLEAR" />
29
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
30 31 32 33
    <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
    <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
34
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
35 36
    <uses-permission android:name="android.permission.ACCESS_WIMAX_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIMAX_STATE" />
37
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
38
    <uses-permission android:name="com.android.certinstaller.INSTALL_AS_USER" />
39
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
40
    <uses-permission android:name="android.permission.TETHER_PRIVILEGED" />
41 42 43 44 45 46 47 48 49
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.WRITE_APN_SETTINGS"/>
    <uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
    <uses-permission android:name="android.permission.READ_USER_DICTIONARY"/>
    <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY"/>
50
    <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/>
51 52 53 54
    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
    <uses-permission android:name="android.permission.BATTERY_STATS"/>
    <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
    <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
55
    <uses-permission android:name="android.permission.MOVE_PACKAGE" />
56 57 58 59 60 61 62
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
    <uses-permission android:name="android.permission.BACKUP" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.READ_SYNC_STATS" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
63
    <uses-permission android:name="android.permission.STATUS_BAR" />
64
    <uses-permission android:name="android.permission.MANAGE_USB" />
65
    <uses-permission android:name="android.permission.SET_POINTER_SPEED" />
66
    <uses-permission android:name="android.permission.SET_KEYBOARD_LAYOUT" />
67 68 69
    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
    <uses-permission android:name="android.permission.COPY_PROTECTED_DATA" />
    <uses-permission android:name="android.permission.MANAGE_USERS" />
70
    <uses-permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS" />
71
    <uses-permission android:name="android.permission.READ_PROFILE" />
72
    <uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
73
    <uses-permission android:name="android.permission.CONFIGURE_DISPLAY_COLOR_MODE" />
74
    <uses-permission android:name="android.permission.SET_TIME" />
75
    <uses-permission android:name="android.permission.ACCESS_NOTIFICATIONS" />
76
    <uses-permission android:name="android.permission.REBOOT" />
77
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
78
    <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
79
    <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
80
    <uses-permission android:name="android.permission.OEM_UNLOCK_STATE" />
81
    <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" />
Jim Miller's avatar
Jim Miller committed
82 83
    <uses-permission android:name="android.permission.USE_FINGERPRINT" />
    <uses-permission android:name="android.permission.MANAGE_FINGERPRINT" />
84
    <uses-permission android:name="android.permission.USER_ACTIVITY" />
85
    <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" />
86
    <uses-permission android:name="android.permission.PEERS_MAC_ADDRESS"/>
87
    <uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS"/>
88
    <uses-permission android:name="android.permission.DELETE_PACKAGES"/>
Phil Weaver's avatar
Phil Weaver committed
89
    <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
90

91
    <uses-permission android:name="cyanogenmod.permission.PROTECTED_APP" />
92
    <uses-permission android:name="cyanogenmod.permission.WRITE_SETTINGS" />
93
    <uses-permission android:name="cyanogenmod.permission.MANAGE_REMOTE_PREFERENCES" />
94

95
    <application android:label="@string/settings_label"
Ying Wang's avatar
Ying Wang committed
96
            android:icon="@mipmap/ic_launcher_settings"
97
            android:taskAffinity=""
98
            android:theme="@style/Theme.Settings"
99
            android:hardwareAccelerated="true"
Amith Yamasani's avatar
Amith Yamasani committed
100
            android:requiredForAllUsers="true"
101
            android:supportsRtl="true"
102
            android:allowBackup="false"
103
            android:usesCleartextTraffic="true"
Jeff Sharkey's avatar
Jeff Sharkey committed
104 105
            android:defaultToDeviceProtectedStorage="true"
            android:directBootAware="true">
106 107 108

        <!-- Settings -->

109
        <activity android:name="Settings"
110
                android:taskAffinity="com.android.settings"
111
                android:label="@string/settings_label_launcher"
112
                android:launchMode="singleTask">
113
            <intent-filter android:priority="1">
114 115 116
                <action android:name="android.settings.SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
117 118
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
119 120
        </activity>

121 122 123 124 125 126 127 128 129 130 131
        <!-- Alias for launcher activity only, as this belongs to each profile. -->
        <activity-alias android:name="Settings"
                android:taskAffinity="com.android.settings"
                android:label="@string/settings_label_launcher"
                android:launchMode="singleTask"
                android:targetActivity="Settings">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
132
            <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/>
133 134
        </activity-alias>

135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
        <activity android:name=".Settings$WirelessSettings"
            android:label="@string/header_category_wireless_networks">
            <intent-filter android:priority="4">
                <action android:name="com.android.settings.category.wireless" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name=".Settings$DeviceSettings"
            android:label="@string/header_category_device">
            <intent-filter android:priority="3">
                <action android:name="com.android.settings.category.device" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name=".Settings$PersonalSettings"
            android:label="@string/header_category_personal">
            <intent-filter android:priority="2">
                <action android:name="com.android.settings.category.personal" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name=".SystemSettings"
            android:label="@string/header_category_system">
            <intent-filter android:priority="1">
                <action android:name="com.android.settings.category.system" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

167
        <receiver android:name="SettingsInitialize">
168
            <intent-filter>
169
                <action android:name="android.intent.action.USER_INITIALIZE"/>
170
                <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
171 172 173
            </intent-filter>
        </receiver>

174
        <activity android:name=".SubSettings"
Adam Powell's avatar
Adam Powell committed
175 176
                android:taskAffinity="com.android.settings"
                android:parentActivityName="Settings">
177 178
        </activity>

179
        <activity android:name="CreateShortcut" android:label="@string/settings_shortcut"
180
            android:theme="@style/Theme.SubSettingsDialogWhenLarge">
181 182 183 184 185 186
            <intent-filter>
                <action android:name="android.intent.action.CREATE_SHORTCUT" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

187 188
        <!-- Wireless Controls -->

189
        <activity android:name="Settings$WirelessSettingsActivity"
190
                android:taskAffinity="com.android.settings"
Adam Powell's avatar
Adam Powell committed
191
                android:label="@string/wireless_networks_settings_title"
192
                android:icon="@drawable/ic_settings_more"
Adam Powell's avatar
Adam Powell committed
193
                android:parentActivityName="Settings">
194
            <intent-filter android:priority="1">
195 196
                <action android:name="android.settings.WIRELESS_SETTINGS" />
                <action android:name="android.settings.AIRPLANE_MODE_SETTINGS" />
197
                <action android:name="android.settings.NFC_SETTINGS" />
198
                <category android:name="android.intent.category.DEFAULT" />
199 200 201 202
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
203 204
                <category android:name="android.intent.category.VOICE_LAUNCH" />
            </intent-filter>
205 206 207 208 209 210
            <intent-filter android:priority="-1">
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.wireless" />
            <meta-data android:name="com.android.settings.title"
211
                android:resource="@string/radio_controls_title" />
212 213
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.WirelessSettings" />
214 215 216
            <!-- Note that this doesn't really show any Wireless settings. -->
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
217
        </activity>
218

219 220
        <activity android:name="AirplaneModeVoiceActivity"
                android:label="@string/wireless_networks_settings_title"
221
                android:theme="@*android:style/Theme.DeviceDefault.Light.Voice"
222 223 224 225 226 227 228 229
                android:exported="true">
            <intent-filter>
                <action android:name="android.settings.VOICE_CONTROL_AIRPLANE_MODE" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.VOICE" />
            </intent-filter>
        </activity>

230 231
        <!-- Top-level settings -->

232
        <activity android:name="Settings$WifiSettingsActivity"
233
                android:taskAffinity=""
234
                android:label="@string/wifi_settings"
235
                android:icon="@drawable/ic_settings_wireless"
236
                android:configChanges="orientation|keyboardHidden|screenSize">
237 238 239 240
            <intent-filter android:priority="1">
                <action android:name="android.settings.WIFI_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
241 242 243 244 245 246
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
                <category android:name="com.android.settings.SHORTCUT" />
            </intent-filter>
247 248 249 250 251
            <intent-filter android:priority="4">
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.wireless" />
252 253
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.wifi.WifiSettings" />
254 255
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
256
        </activity>
257

258 259
        <!-- Keep compatibility with old shortcuts. -->
        <activity-alias android:name=".wifi.WifiSettings"
260
                android:taskAffinity="com.android.settings"
261
                android:label="@string/wifi_settings"
262
                android:icon="@drawable/ic_settings_wireless"
263 264
                android:targetActivity="Settings$WifiSettingsActivity"
                android:configChanges="orientation|keyboardHidden|screenSize"
265
                android:exported="true">
266 267 268 269
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.wifi.WifiSettings" />
        </activity-alias>

270
        <activity android:name=".wifi.WifiPickerActivity"
271 272
                android:taskAffinity="com.android.settings"
                android:parentActivityName="Settings">
273 274 275 276
            <intent-filter android:priority="1">
                <action android:name="android.net.wifi.PICK_WIFI_NETWORK" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
277 278 279 280
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
281 282
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
283 284
        </activity>

285
        <activity android:name=".wifi.WifiSetupActivity"
286
                android:taskAffinity="com.android.wizard"
287
                android:theme="@style/SetupWizardDisableAppStartingTheme"
288
                android:label="@string/wifi_setup_wizard_title"
289
                android:icon="@drawable/empty_icon"
290 291
                android:clearTaskOnLaunch="true"
                android:windowSoftInputMode="adjustNothing">
292
            <intent-filter android:priority="1">
293 294 295
                <action android:name="com.android.net.wifi.SETUP_WIFI_NETWORK" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
296 297
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
298 299
        </activity>

300
        <activity android:name="Settings$AdvancedWifiSettingsActivity"
301
                android:taskAffinity="com.android.settings"
302
                android:label="@string/wifi_advanced_settings_label"
303
                android:icon="@drawable/ic_settings_wireless"
304
                android:configChanges="orientation|keyboardHidden|screenSize"
Adam Powell's avatar
Adam Powell committed
305
                android:parentActivityName="Settings$WifiSettingsActivity">
306 307 308 309
            <intent-filter android:priority="1">
                <action android:name="android.settings.WIFI_IP_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
310 311 312 313 314
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
315 316
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.wifi.AdvancedWifiSettings" />
317 318
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
319
        </activity>
320 321 322 323 324
        <activity android:name=".SubSettings$SavedAccessPointsSubSettings"
            android:taskAffinity="com.android.settings"
            android:configChanges="orientation|keyboardHidden|screenSize"
            android:parentActivityName="Settings">
        </activity>
325 326 327
        <activity android:name="Settings$SavedAccessPointsSettingsActivity"
                android:taskAffinity="com.android.settings"
                android:label="@string/wifi_saved_access_points_label"
328
                android:icon="@drawable/ic_settings_wireless"
329 330
                android:configChanges="orientation|keyboardHidden|screenSize"
                android:parentActivityName="Settings$WifiSettingsActivity">
331 332 333 334
            <intent-filter android:priority="1">
                <action android:name="android.settings.WIFI_IF_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
335 336 337 338 339 340
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.wifi.SavedAccessPointsSettings" />
341 342
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
343
        </activity>
344

Jason Monk's avatar
Jason Monk committed
345
        <activity android:name=".Settings$WifiInfoActivity"
346
                android:theme="@style/Theme.SubSettingsDialogWhenLarge"
347
                android:taskAffinity="com.android.settings"
Adam Powell's avatar
Adam Powell committed
348
                android:parentActivityName="Settings$WifiSettingsActivity">
349 350 351 352 353
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
Jason Monk's avatar
Jason Monk committed
354 355
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                       android:value="com.android.settings.wifi.WifiInfo" />
356 357
        </activity>

358
        <activity android:name=".wifi.WifiConfigInfo"
359
                android:theme="@style/Theme.SubSettingsDialogWhenLarge"
360
                android:taskAffinity="com.android.settings"
Adam Powell's avatar
Adam Powell committed
361
                android:parentActivityName="Settings$WifiSettingsActivity">
362 363 364 365 366 367 368
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

Jason Monk's avatar
Jason Monk committed
369
        <activity android:name=".Settings$WifiAPITestActivity"
370
                android:theme="@style/Theme.SubSettingsDialogWhenLarge">
371 372 373 374 375
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
Jason Monk's avatar
Jason Monk committed
376 377
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                       android:value="com.android.settings.wifi.WifiAPITest" />
378 379
        </activity>

380
        <activity android:name=".wifi.WifiStatusTest"
381
                android:theme="@style/Theme.SubSettingsDialogWhenLarge">
382 383 384 385 386 387 388
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

389 390 391 392 393 394
        <activity android:name=".wifi.WifiNoInternetDialog"
                  android:clearTaskOnLaunch="true"
                  android:excludeFromRecents="true"
                  android:exported="true"
                  android:permission="android.permission.CONNECTIVITY_INTERNAL"
                  android:taskAffinity=""
395
                  android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert">
396 397 398 399
            <intent-filter>
                <action android:name="android.net.conn.PROMPT_UNVALIDATED" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
400 401 402 403
            <intent-filter>
                <action android:name="android.net.conn.PROMPT_LOST_VALIDATION" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
404 405
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
406 407
        </activity>

408
        <!-- Runs in the phone process since it needs access to UiccController -->
409
        <activity android:name="Settings$ApnSettingsActivity"
410
                android:label="@string/apn_settings"
411
                android:launchMode="singleTask"
412 413
                android:taskAffinity="com.android.settings"
                android:configChanges="orientation|keyboardHidden|screenSize"
414
                android:process="com.android.phone">
415 416 417 418
            <intent-filter android:priority="1">
                <action android:name="android.settings.APN_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
419 420 421 422 423
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
            </intent-filter>
424 425
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
426 427
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                       android:value="com.android.settings.ApnSettings" />
428 429
        </activity>

430 431 432 433 434 435
        <activity android:name=".SubSettings$BluetoothSubSettings"
                android:taskAffinity="com.android.settings"
                android:configChanges="orientation|keyboardHidden|screenSize"
                android:parentActivityName="Settings">
        </activity>

436 437
        <activity android:name="Settings$BluetoothSettingsActivity"
                android:label="@string/bluetooth_settings_title"
438
                android:icon="@drawable/ic_settings_bluetooth"
439
                android:configChanges="orientation|keyboardHidden|screenSize"
440
                android:taskAffinity="">
441 442 443 444
            <intent-filter android:priority="1">
                <action android:name="android.settings.BLUETOOTH_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
445 446 447
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
448
                <category android:name="com.android.settings.SHORTCUT" />
449
                <category android:name="android.intent.category.DEFAULT" />
450
            </intent-filter>
451 452 453 454 455
            <intent-filter android:priority="3">
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.wireless" />
456 457 458
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.bluetooth.BluetoothSettings" />
        </activity>
459

460 461 462 463 464 465 466 467 468 469
        <!-- Keep compatibility with old shortcuts. -->
        <activity-alias android:name=".bluetooth.BluetoothSettings"
                android:label="@string/bluetooth_settings_title"
                android:targetActivity="Settings$BluetoothSettingsActivity"
                android:exported="true"
                android:clearTaskOnLaunch="true">
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.bluetooth.BluetoothSettings" />
        </activity-alias>

470
        <activity android:name=".bluetooth.DevicePickerActivity"
471
                android:theme="@style/Theme.SubSettingsDialogWhenLarge"
472
                android:label="@string/device_picker"
473
                android:configChanges="orientation|keyboardHidden|screenSize"
474
                android:clearTaskOnLaunch="true">
475 476 477 478 479 480
            <intent-filter>
                <action android:name="android.bluetooth.devicepicker.action.LAUNCH" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

481 482
        <service android:name=".TetherService"
            android:exported="true"
483
            android:permission="android.permission.TETHER_PRIVILEGED" />
484 485 486 487

        <activity android:name="TetherProvisioningActivity"
            android:exported="true"
            android:permission="android.permission.TETHER_PRIVILEGED"
488
            android:theme="@style/Theme.ProvisioningActivity">
489 490 491 492 493 494
            <intent-filter android:priority="1">
                <action android:name="android.settings.TETHER_PROVISIONING_UI" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

495 496 497 498 499 500
        <receiver
            android:name=".HotspotOffReceiver" >
            <intent-filter>
                <action android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
            </intent-filter>
        </receiver>
501

502
        <activity android:name="Settings$TetherSettingsActivity"
503
                android:label="@string/tether_settings_title_all"
504
                android:icon="@drawable/ic_settings_wireless"
505
                android:taskAffinity="">
506 507 508 509
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
Arne Coucheron's avatar
Arne Coucheron committed
510
                <category android:name="com.android.settings.SHORTCUT" />
511
            </intent-filter>
512 513 514
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.TetherSettings" />
        </activity>
515

516 517 518 519 520 521 522 523 524 525
        <!-- Keep compatibility with old shortcuts. -->
        <activity-alias android:name=".TetherSettings"
                  android:label="@string/tether_settings_title_all"
                  android:clearTaskOnLaunch="true"
                  android:exported="true"
                  android:targetActivity="Settings$TetherSettingsActivity">
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.TetherSettings" />
        </activity-alias>

526
        <activity android:name="Settings$WifiP2pSettingsActivity"
527
                android:taskAffinity="com.android.settings"
Adam Powell's avatar
Adam Powell committed
528
                android:parentActivityName="Settings$WifiSettingsActivity">
529 530 531 532 533 534
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
535
                android:value="com.android.settings.wifi.p2p.WifiP2pSettings" />
536 537
        </activity>

538
        <activity android:name="Settings$VpnSettingsActivity"
539
                android:label="@string/vpn_settings_title"
540
                android:icon="@drawable/ic_settings_wireless"
541
                android:taskAffinity="">
542
            <intent-filter android:priority="1">
543
                <action android:name="android.settings.VPN_SETTINGS" />
544 545 546
                <action android:name="android.net.vpn.SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
547 548 549
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
550
                <category android:name="android.intent.category.VOICE_LAUNCH" />
551
                <category android:name="com.android.settings.SHORTCUT" />
552
            </intent-filter>
553
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
554
                android:value="com.android.settings.vpn2.VpnSettings" />
555 556
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
557
        </activity>
558

559
        <activity android:name="Settings$DateTimeSettingsActivity"
Adam Powell's avatar
Adam Powell committed
560
                android:label="@string/date_and_time"
561
                android:icon="@drawable/ic_settings_date_time"
562
                android:taskAffinity="">
563 564 565 566
            <intent-filter android:priority="1">
                <action android:name="android.settings.DATE_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
567 568
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
569
                <action android:name="android.intent.action.QUICK_CLOCK" />
570
                <category android:name="android.intent.category.VOICE_LAUNCH" />
571
                <category android:name="android.intent.category.DEFAULT" />
572
            </intent-filter>
573
            <intent-filter android:priority="6">
574 575 576 577
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.system" />
578 579
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.DateTimeSettings" />
580 581
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
582
        </activity>
583

584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600
        <activity android:name="Settings$TimerSwitchSettingsActivity"
                android:label="@string/timer_switch_settings_title"
                android:icon="@drawable/ic_settings_timerswitch"
                android:taskAffinity="">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter android:priority="5">
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.system" />
            <meta-data android:name="com.android.settings.ACTIVITY_ACTION"
                android:value="qualcomm.intent.action.TIMER_SWITCH" />
        </activity>

601 602
        <activity android:name="DateTimeSettingsSetupWizard"
                  android:label="@string/date_and_time"
603
                  android:theme="@android:style/Theme.DeviceDefault.Light.NoActionBar"
604
                  android:screenOrientation="behind">
605 606 607 608 609
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>

610 611
        <activity android:name="Settings$LocalePickerActivity"
                android:label="@string/language_picker_title"
612
                android:icon="@drawable/ic_settings_language"
613
                android:taskAffinity="com.android.settings"
Adam Powell's avatar
Adam Powell committed
614
                android:parentActivityName="Settings$InputMethodAndLanguageSettingsActivity">
615 616 617 618
            <intent-filter android:priority="1">
                <action android:name="android.settings.LOCALE_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
619 620 621 622 623
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
            </intent-filter>
624
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
625
                android:value="com.android.settings.localepicker.LocaleListEditor" />
626 627
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
628
        </activity>
629

630
        <activity android:name="Settings$InputMethodAndLanguageSettingsActivity"
631 632 633
            android:label="@string/language_keyboard_settings_title"
            android:icon="@drawable/ic_settings_language"
            android:taskAffinity="com.android.settings"
634 635
            android:parentActivityName="Settings"
            android:configChanges="keyboard|keyboardHidden">
636 637
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
638
                <category android:name="android.intent.category.VOICE_LAUNCH" />
639 640
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
641 642 643 644 645
            <intent-filter android:priority="-1">
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.personal" />
646 647
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.inputmethod.InputMethodAndLanguageSettings" />
648 649
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
650
        </activity>
651

652 653 654 655 656 657 658 659
        <activity android:name="Settings$AvailableVirtualKeyboardActivity"
            android:label="@string/available_virtual_keyboard_category">
            <intent-filter android:priority="1">
                <action android:name="android.settings.INPUT_METHOD_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.inputmethod.AvailableVirtualKeyboardFragment" />
660 661
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
662 663
        </activity>

664 665
        <activity android:name="Settings$ManageAssistActivity"
                android:label="@string/assist_and_voice_input_title"
666
                android:taskAffinity="com.android.settings"
667
                android:parentActivityName="Settings$ManageApplicationsActivity">
668 669 670 671
            <intent-filter android:priority="1">
                <action android:name="android.settings.VOICE_INPUT_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
672 673 674 675 676
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
677
                android:value="com.android.settings.applications.ManageAssist" />
678 679
        </activity>

680
        <activity android:name="Settings$KeyboardLayoutPickerActivity"
681 682 683 684 685 686 687 688 689 690 691
            android:label="@string/keyboard_layout_picker_title"
            android:clearTaskOnLaunch="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.inputmethod.KeyboardLayoutPickerFragment2" />
        </activity>

        <activity android:name="Settings$PhysicalKeyboardActivity"
Yorke Lee's avatar
Yorke Lee committed
692
            android:label="@string/physical_keyboard_title"
693
            android:clearTaskOnLaunch="true">
694
            <intent-filter android:priority="1">
695
                <action android:name="android.settings.HARD_KEYBOARD_SETTINGS" />
696 697
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
698 699 700 701 702
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
703
                android:value="com.android.settings.inputmethod.PhysicalKeyboardFragment" />
704 705
        </activity>

706 707 708 709 710 711 712 713 714 715
        <!-- Keep compatibility with old shortcuts. -->
        <activity-alias android:name="LanguageSettings"
                android:label="@string/language_keyboard_settings_title"
                android:clearTaskOnLaunch="true"
                android:exported="true"
                android:targetActivity="Settings$InputMethodAndLanguageSettingsActivity">
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.inputmethod.InputMethodAndLanguageSettings" />
        </activity-alias>

716 717
        <activity android:name="Settings$SpellCheckersSettingsActivity"
                android:label="@string/spellcheckers_settings_title"
718
                android:taskAffinity="com.android.settings"
Adam Powell's avatar
Adam Powell committed
719
                android:parentActivityName="Settings$InputMethodAndLanguageSettingsActivity">
720 721 722 723 724 725 726 727 728
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.inputmethod.SpellCheckersSettings" />
        </activity>

729
        <activity android:name=".inputmethod.InputMethodAndSubtypeEnablerActivity"
730
                android:label=""
731
                android:clearTaskOnLaunch="true">
732 733 734 735
            <intent-filter android:priority="1">
                <action android:name="android.settings.INPUT_METHOD_SUBTYPE_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
736 737 738 739 740
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
741 742
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
743
        </activity>
744

745 746
        <receiver android:name=".inputmethod.InputMethodDialogReceiver"
                android:enabled="true">
747 748 749
            <intent-filter>
                <action android:name="android.settings.SHOW_INPUT_METHOD_PICKER" />
            </intent-filter>
750
        </receiver>
751

752
        <activity android:name="Settings$UserDictionarySettingsActivity"
753
                android:label="@string/user_dict_settings_title"
754
                android:taskAffinity="com.android.settings"
Adam Powell's avatar
Adam Powell committed
755
                android:parentActivityName="Settings$InputMethodAndLanguageSettingsActivity">
756 757 758 759
            <intent-filter android:priority="1">
                <action android:name="android.settings.USER_DICTIONARY_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
760 761 762 763 764
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
            </intent-filter>
765
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
766
                android:value="com.android.settings.inputmethod.UserDictionaryList" />
767 768
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
769 770
        </activity>

771
        <activity android:name=".inputmethod.UserDictionaryAddWordActivity"
772
                  android:label="@string/user_dict_settings_title"
773
                  android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar"
774
                  android:windowSoftInputMode="stateVisible"
775
                  android:noHistory="true"
776
                  android:excludeFromRecents="true">
777
            <intent-filter android:priority="1">
778 779 780
                <action android:name="com.android.settings.USER_DICTIONARY_INSERT" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
781 782
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
783 784
        </activity>

785 786
        <!-- Keep compatibility with old shortcuts. -->
        <activity-alias android:name="UserDictionarySettings"
787
                android:label="@string/user_dict_settings_title"
788 789 790 791 792 793
                android:exported="true"
                android:targetActivity="Settings$UserDictionarySettingsActivity">
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.UserDictionarySettings" />
        </activity-alias>

794 795
        <activity android:name="Settings$ZenModeSettingsActivity"
                android:label="@string/zen_mode_settings_title"
796
                android:icon="@drawable/ic_settings_notifications"
797
                android:exported="true"
798
                android:taskAffinity="">
799 800 801 802
            <intent-filter android:priority="1">
                <action android:name="android.settings.ZEN_MODE_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
803 804 805 806 807 808
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="com.android.settings.SHORTCUT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
809
                android:value="com.android.settings.notification.ZenModeSettings" />
810 811
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
812 813
        </activity>

814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829
        <activity android:name="Settings$ZenModeVisualInterruptionSettingsActivity"
                  android:label="@string/zen_mode_visual_interruptions_settings_title"
                  android:icon="@drawable/ic_settings_notifications"
                  android:exported="true"
                  android:taskAffinity="">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="com.android.settings.SHORTCUT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                       android:value="com.android.settings.notification.ZenModeVisualInterruptionSettings" />
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                       android:value="true" />
        </activity>

830 831
        <activity android:name="Settings$ZenModePrioritySettingsActivity"
                android:label="@string/zen_mode_priority_settings_title"
832
                android:icon="@drawable/ic_settings_notifications"
833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849
                android:exported="true"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="android.settings.ZEN_MODE_PRIORITY_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="com.android.settings.SHORTCUT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.notification.ZenModePrioritySettings" />
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
        </activity>

850 851
        <activity android:name="Settings$ZenModeAutomationSettingsActivity"
                android:label="@string/zen_mode_automation_settings_title"
852
                android:icon="@drawable/ic_settings_notifications"
853 854 855 856 857 858
                android:exported="true"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="android.settings.ZEN_MODE_AUTOMATION_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
859 860 861 862
            <intent-filter android:priority="1">
                <action android:name="android.settings.ACTION_CONDITION_PROVIDER_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
863 864 865 866 867 868 869 870 871 872 873
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="com.android.settings.SHORTCUT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.notification.ZenModeAutomationSettings" />
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
        </activity>

874 875 876 877 878 879 880 881 882 883 884 885 886 887 888
        <activity android:name="Settings$ZenModeAutomationSuggestionActivity"
                android:label="@string/zen_mode_automation_settings_title"
                android:icon="@drawable/ic_settings_notifications"
                android:exported="true"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.settings.suggested.category.SETTINGS_ONLY" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.notification.ZenModeAutomationSettings" />
            <meta-data android:name="com.android.settings.dismiss"
                android:value="30" />
            <meta-data android:name="com.android.settings.title"
                android:resource="@string/zen_mode_automation_suggestion_title" />
Jason Monk's avatar
Jason Monk committed
889 890
            <meta-data android:name="com.android.settings.summary"
                android:resource="@string/zen_mode_automation_suggestion_summary" />
891 892
        </activity>

893 894 895 896 897 898 899 900
        <activity android:name="Settings$WallpaperSettingsActivity"
                  android:label="@string/wallpaper_settings_fragment_title"
                  android:icon="@drawable/ic_wallpaper"
                  android:taskAffinity="">
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                       android:value="com.android.settings.WallpaperTypeSettings" />
        </activity>

901 902 903 904 905
        <activity android:name="WallpaperSuggestionActivity"
                  android:label="@string/wallpaper_settings_title"
                  android:icon="@drawable/ic_wallpaper"
                  android:exported="true"
                  android:theme="@android:style/Theme.NoDisplay">
906 907 908 909 910
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="com.android.settings.suggested.category.SETTINGS_ONLY" />
            </intent-filter>
            <meta-data android:name="com.android.settings.title"
911
                       android:resource="@string/wallpaper_suggestion_title" />
Jason Monk's avatar
Jason Monk committed
912
            <meta-data android:name="com.android.settings.summary"
913
                       android:resource="@string/wallpaper_suggestion_summary" />
914 915
        </activity>

916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932
        <activity android:name="Settings$ZenModeScheduleRuleSettingsActivity"
                android:exported="true"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="android.settings.ZEN_MODE_SCHEDULE_RULE_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.notification.ZenModeScheduleRuleSettings" />
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
        </activity>

933 934 935 936 937 938 939 940 941 942 943 944 945 946
        <activity android:name="Settings$ZenModeEventRuleSettingsActivity"
                android:exported="true"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="android.settings.ZEN_MODE_EVENT_RULE_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.notification.ZenModeEventRuleSettings" />
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
947 948 949
                android:value="true" />
        </activity>

950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966
        <activity android:name="Settings$ZenModeExternalRuleSettingsActivity"
                android:exported="true"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="android.settings.ZEN_MODE_EXTERNAL_RULE_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.notification.ZenModeExternalRuleSettings" />
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
        </activity>

967
        <activity android:name="Settings$DisplaySettingsActivity"
968
                android:label="@string/display_settings"
969
                android:icon="@drawable/ic_settings_display"
970
                android:taskAffinity="">
971
            <intent-filter android:priority="1">
972
                <action android:name="com.android.settings.DISPLAY_SETTINGS" />
973
                <action android:name="android.settings.DISPLAY_SETTINGS" />
974
                <category android:name="android.intent.category.DEFAULT" />
975 976 977 978
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
979
                <category android:name="android.intent.category.VOICE_LAUNCH" />
980
                <category android:name="com.android.settings.SHORTCUT" />
981
            </intent-filter>
982
            <intent-filter android:priority="9">
983 984 985 986
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.device" />
987 988
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.DisplaySettings" />
989 990
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
991
        </activity>
992

993 994 995 996 997 998 999 1000 1001
        <!-- Keep compatibility with old shortcuts. -->
        <activity-alias android:name="DisplaySettings"
                android:label="@string/display_settings"
                android:exported="true"
                android:targetActivity="Settings$DisplaySettingsActivity">
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.DisplaySettings" />
        </activity-alias>

1002 1003
        <activity android:name="Settings$NightDisplaySettingsActivity"
                android:label="@string/night_display_title"
1004
                android:enabled="@*android:bool/config_nightDisplayAvailable"
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021
                android:icon="@drawable/ic_settings_night_display"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="android.settings.NIGHT_DISPLAY_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="com.android.settings.SHORTCUT" />
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.display.NightDisplaySettings" />
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
        </activity>

1022
        <activity android:name="Settings$DeviceInfoSettingsActivity"
1023
                android:theme="@style/Theme.SubSettingsDialogWhenLarge"
Adam Powell's avatar
Adam Powell committed
1024
                android:label="@string/device_info_settings"
1025
                android:icon="@drawable/ic_settings_about"
1026
                android:taskAffinity="com.android.settings"
Adam Powell's avatar
Adam Powell committed
1027
                android:parentActivityName="Settings">
1028 1029 1030 1031
            <intent-filter android:priority="1">
                <action android:name="android.settings.DEVICE_INFO_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
1032 1033 1034 1035 1036
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
            </intent-filter>
Jason Monk's avatar
Jason Monk committed
1037
            <intent-filter android:priority="-1">
1038 1039 1040 1041 1042
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.system" />
            <meta-data android:name="com.android.settings.title"
1043
                android:resource="@string/about_settings" />
1044 1045
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.DeviceInfoSettings" />
1046 1047
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
1048
        </activity>
1049 1050 1051

        <activity android:name="SettingsLicenseActivity"
                android:label="@string/settings_license_activity_title"
1052
                android:theme="@android:style/Theme.DeviceDefault.Light.Panel"
1053
                android:configChanges="orientation|screenSize">
1054
            <intent-filter android:priority="1">
1055 1056 1057
                <action android:name="android.settings.LICENSE" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
1058 1059
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
1060 1061
        </activity>

1062
        <activity android:name="Settings$ManageApplicationsActivity"
1063
                android:label="@string/applications_settings"
1064
                android:icon="@drawable/ic_settings_applications"
1065
                android:taskAffinity="">
1066
            <intent-filter android:priority="1">
1067
                <action android:name="android.settings.APPLICATION_SETTINGS" />
1068 1069
                <action android:name="android.settings.MANAGE_APPLICATIONS_SETTINGS" />
                <ca