As part of auto-rotate setting refactor, create a new manager to be used between sysui and settings.
This manager will replace the current DeviceStateRotationLockManager.
Next CL: Integrate this manager to be used when auto-rotate refactor flag is ON.
For more info:go/auto-rotate-refactor
Bug: 394303723
Flag: com.android.window.flags.enable_device_state_auto_rotate_setting_refactor
Test: atest DeviceStateAutoRotateSettingManagerImplTest
Change-Id: Id1e09174fa3fb094f3aaf635b622b4bb9610f7f2
This moves TestDialogHelper to a separate file, and cleans up a couple
of magnification tests.
Bug: b/397530196
Flag: EXEMPT refactor
Test: SettingsRoboTests:com.android.settings.accessibility.MagnificationModePreferenceControllerTest &&
SettingsRoboTests:com.android.settings.accessibility.MagnificationCursorFollowingModePreferenceControllerTest
Change-Id: I68e70061b84dacacf95bc05c784677b8d9794754
This should help prevent localization issues caused by capitalization of
this templated string, since these feature names should not be
capitalized unless they are at the beginning of the sentence.
The 'Settings' app name should always be capitalized since it's the
proper name of an app, so that remains templated.
Bug: 399358129
Test: atest HighContrastTextMigrationReceiverTest;
(this test asserts against a hardcoded version of the entire
string)
Flag: com.android.graphics.hwui.flags.high_contrast_text_small_text_rect
Change-Id: Iaaa2ac10a56c1e4f7e5a8fd0d1c8eaf8b0293a27
Test: Enable talkback and verify next button outputs a correct description
Bug: None
Flag: EXEMPT small cleanup change
Change-Id: Ib71e2a42b810b0ba5d92ec630f90ca7a32fbba46
Done to keep the injector and allow the same testing as before.
Flag: EXEMPT (update flag infra)
Test: build, run, use developer option
Fix: 401058586
Change-Id: Ie841f5a86d41f573e888cccec46d9c3dc700e561
- Show "(required)" and errors in required fields to alert users
- Show "(optional)" below each optional field
Bug: 386025633
Flag: EXEMPT bugfix
Test: Manual testing
atest WifiConfigController2Test
Change-Id: Iefbd68e6658af7b073db219b3e04e94805092759
1. Maintain a map from device to its source state as they could be different.
2. Ensure thread safety.
Test: atest
Bug: 398700619
Flag: com.android.settingslib.flags.audio_stream_media_service_by_receive_state
Change-Id: I056c80401c12401c78037eb15bed007eb592c12a
Since `isAnimatable` is decided in `onBindViewHolder`, we need to register
an onBindListener and update the content description if the current
illustration is an animation.
For the static images, we would like to skip them in Talkback since they
are decorative images.
Bug: 395882764
Test: manually. attach screenshot to the bug
Test: atest ToggleFeaturePreferenceFragmentTest
flag: EXEMPT. bugfix
Change-Id: I57bf96d0891ba553ef29d25ae9489f34b2a832e9
- Let talkback annouce the slot status before battery slot info.
"Selected": If current slot is selected or after the double-tap action to selected a slot.
"Unselected": If current slot is not the seletectd one or after double-tapping an already selected slot(which will selected ALL instead)
Fix: 386027256
Test: Talkback
Flag: EXEMPT for simple fix
Change-Id: I32a665cdf21620aade8397e5bbe4cb44964b0a39
Defines string variants for the "desktop" product type which are simply
copies of the "device" string variants for now. This will decouple
desktop from the "device" product type, avoid using any "default"
strings (phone) in desktop, and allow for string overlay from RRO.
The desktop string variants have been reviewed by a UX writer (see
design doc in bug).
Bug: 392650416
Test: Manually verify UI strings
Flag: EXEMPT desktop only change
Change-Id: Ib8cc10d1886c253ee194f66bd46815f179940725