The active device is placed before the inactive one.
The bonded device is placed before the unbonded one.
The device with earlier bond timestamp is placed before the later one.
Otherwise, the device is ordered by name.
Flagged with enable_le_audio_sharing
Bug: 305620450
Test: Manual
Change-Id: Ie1eea7361fbed1635313b92790cec034cf669bbf
Extract getSystemUpdateIntent, and add unit test.
Bug: 311110616
Test: manual - on "Software updates" page
Test: unit test
Change-Id: Ic7c06490d1d324705f547b2394794605e85485a4
Flag: EXEMPT
Flag exempt reason: low risk changes. Mostly text changes
Test: manual - turn on Talkback and turn off Talkback and see the dialog
Test: atest ToggleAccessibilityServicePreferenceFragmentTest
Bug: 286549065
Change-Id: I90869b5fca0500739f65d0b0ef3331cb728be685
Since the getCallState was marked as @Deprecated, renew this API as the getCallStateForSubscription.
Bug: 279852410
Test: build pass
Change-Id: I224164a2d1089483d4f63da1651d7e87296e87f4
The root cause is introduced in ag/25089088 which updated the UserManager source
Bug: 293405483
Test: atest
Change-Id: I380e70c8a774e972153a27ca096cd3b7f8236304
As previous cl ag/25185014 we increased the preview block horizontal padding when landscape mode. However, in setup wizard it uses GlifPreferenceLayout so the settings page only has half screen width when landscape mode, so the preview block ui is squished due to limited width. Also, setup wizard package has overlay the paddings to larger than our prevoius adjust. Therefore, we rollback the changes in accessibility_text_reading_preview.xml to get the default padding, then add checker to increase the paddings if needed at runtime.
Bug: 309590083
Test: manually
Test: atest TextReadingPreviewPreferenceTest
Test: atest TextReadingPreferenceFragmentForSetupWizardTest
Change-Id: Ib907f4182eed272b84a4ab6208ea2d8a89ba96c4
The color inversion shortcut is not searchable because this preference
is dynamically created. In order to make it searchable, we should add
index raw data for this preference.
Fixes: 223514734
Test: manual test
1) Open Settings search
2) Search for shortcut
3) check that the search results have Color inversion shortcut
Change-Id: I354d0c0e63cc12bd5012d7f26a165278a40bcf2d
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDetailsProfilesControllerTest
Test: manual test with le toggle and check bass profile is
enabled/disabled
Bug: 300227308
Change-Id: If61b1edadb24b53661bb74173c243826f31956ae
Per guidance from Setup Wizard UX leads.
This matches the colors used by other accessibility feature preview
backgrounds.
Fix: 294443760
Test: Settings > Accessibility > Display size and text
Observe white background in light mode, black background
in dark mode.
Change-Id: I904415f91ce69e21477e761876944661ef69cb99
Ensure the screen itself is flag-guarded, not just the entry point
in Developer Options.
Fixes: 311724167
Test: m -j
flash, ensure feature is off, search for quarantined in Settings
search, ensure no results
Change-Id: I4efaf1f7c6452d2ce6115f40fffa16963ee7c244
check if quiet mode is already in the desired state before calling
setQuietModeEnabled
Bug: 303722527
Bug: 293441361
Test: atest WorkModePreferenceControllerTest, atest
ManagedProfileQuietModeEnablerTest
Change-Id: I6a809b6f1b9a78382dccb1cc8b0ae4d8c88fa51a