* changes:
Show turn off talkback dialog if needed in find an audio stream page.
Show turn off talkback dialog if needed in `AudioStreamConfirmDialog`.
Bug: 397358182
Test: atest BiometricEnrollActivityTest
Flag: EXEMPT activity rename can not use flag
Change-Id: Icccf06cc3e27052077d81808d07f362998e8fcf7
Rule should be public for junit.
Test: atest SettingsRoboTests:com.android.settings.applications.AppWithAdminGrantedPermissionsCounterTest
Merged-In: Id2ecf785655dfcca9f65fc3ee64ffae11fc78e88
Change-Id: I2f577f71011e1197703e115b704af0aa1ee1e5dd
Signed-off-by: utzcoz <utzcoz@gmail.com>
Bug: 393951373
FLAG: EXEMPT flag clean up
Test: atest NetworkSelectSettingsTest WifiCallingSettingsForSubTest SatelliteSettingsPreferenceControllerTest
Test: manual test in live network
Change-Id: I154e9be8a8c771fafb37af078be7b495f18b6100
* changes:
Return DISABLED_FOR_USER in deviceinfo/simstatus availability if not admin user
Return UNSUPPORTED_ON_DEVICE in deviceinfo/simstatus when no telephony
Added unit tests for SimStatusPreferenceController visibility
Return DISABLED_FOR_USER in IMEI availability if not admin user
Return UNSUPPORTED_ON_DEVICE in network/imei when no telephony
Added unit test for MobileNetworkImeiPreferenceController visibility
Added unit tests for ImeiInfoPreferenceController visibility
Return UNSUPPORTED_ON_DEVICE in network/phonenumber when no telephony
1. update color of slider in dialog to increase contrast
2. not showing device name in Mouse key page if there's only one device
connected
Bug: 374030364
Bug: 377464791
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest
packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
Change-Id: I94d7859ba1dfdad7fdca2ee750a5afeb881756f4
Dialogs are not a part of view hierarchy so if the dialog loses focus, it cannot be reached by traversing.
When it is places within full-screen activity, then the focus is captured within activity and returns to the dialog. If the activity was embedded in the right side pane, like the dialog used to look, the dialog would be accessible by traversing but the focus would be granted to the left pane of Settings app. Therefore this UI change is required.
Bug: 376815882
Test: atest UserSettingsTest
Flag: android.multiuser.place_add_user_dialog_within_activity
Change-Id: If9f280573d2b0da8deedcdeaeffc9db6160f27a0
and the "Fingerprint icon" are not high enough in the Fingerprint
enrollment flow for light theme.
Change the Fingerprint enrollment progress color which is based on
GM3 baseline color and ensure the contrast ratio is larger than 3:1
Flag: EXEMPT bugfix
Bug: 378400987
Test: local build and verify the UI color ratio
Change-Id: Ibd8b7c87f31f848f371f922461972756dd0e9090
The correct return when checking for the SIM status field availability
for non-admin users is DISABLED_FOR_USER.
UNSUPPORTED_ON_DEVICE should only be used when the setting is
unconditionally hidden as the device does not support the feature.
Bug: 395714454
Flag: EXEMPT bugfix
Test: atest SimStatusPreferenceControllerTest
Change-Id: I9bd290f1bdd73909be383a24f2c762d295089ff6
If the device does not have any telephony support (either via the
build-time config_show_sim_info=false boolean flag, or when not
declaring the PackageManager.FEATURE_TELEPHONY_DATA feature flag),
returning UNSUPPORTED_ON_DEVICE makes more sense than
CONDITIONALLY_UNAVAILABLE, as there is no runtime change that would
make it available.
Bug: 395714454
Flag: EXEMPT bugfix
Test: atest SimStatusPreferenceControllerTest
Change-Id: I0735c949a590190cdc177cbca835444691c50faa
The new test checks whether the item is available when
config_show_sim_info=false, when telephony is not data capable and
when the user is not admin,
The default visibility status for all tests is defined in the test
setup().
Bug: 395714454
Flag: EXEMPT test only
Test: atest SimStatusPreferenceControllerTest
Change-Id: I8791d9fd4d7ab8648946f044d7aa6a0e77283a00
The correct return when checking for the IMEI field availability
for non-admin users is DISABLED_FOR_USER.
UNSUPPORTED_ON_DEVICE should only be used when the setting is
unconditionally hidden as the device does not support the feature.
Bug: 395714454
Flag: EXEMPT bugfix
Test: atest ImeiInfoPreferenceControllerTest
Test: atest MobileNetworkImeiPreferenceControllerTest
Change-Id: I4ee89a84953993daad539d33d3a2e576540c580f
If the device does not have any telephony support (either via the
build-time config_show_sim_info=false boolean flag, or when not
declaring the PackageManager.FEATURE_TELEPHONY_DATA feature flag),
returning UNSUPPORTED_ON_DEVICE makes more sense than
CONDITIONALLY_UNAVAILABLE, as there is no runtime change that would
make it available.
This change also aligns the behavior with the deviceinfo/imei
entry.
Bug: 395714454
Flag: EXEMPT bugfix
Test: atest MobileNetworkImeiPreferenceControllerTest
Change-Id: Ia01cf3812f8343eabd8ea6970b691ac71432e8bd
The new test checks whether the item is available when the
SubscriptionUtil.isSimHardwareVisible() method returns true, i.e. if
the config_show_sim_info boolean flag is true on non-test runtime.
The default visibility status for all tests is defined in the test
setup() method.
Bug: 395714454
Flag: EXEMPT test only
Test: atest MobileNetworkImeiPreferenceControllerTest
Change-Id: Iaa8be041f0299ac36d532ed68fdc9c30e5690b11
The new test checks whether the item is available when
config_show_sim_info=false, when telephony is not data capable and
when the user is not admin,
The default visibility status for all tests is defined in the test
setup().
Bug: 395714454
Flag: EXEMPT test only
Test: atest ImeiInfoPreferenceControllerTest
Change-Id: Ic4df12da216e5c343cf696d931ff02dc942d105f
If the device does not have any telephony support (either via the
build-time config_show_sim_info=false boolean flag, or when not
declaring the PackageManager.FEATURE_TELEPHONY_DATA feature flag),
returning UNSUPPORTED_ON_DEVICE makes more sense than
CONDITIONALLY_UNAVAILABLE, as there is no runtime change that would
make it available.
This change also aligns the behavior with the deviceinfo/phonenumber
entry.
Bug: 395714454
Flag: EXEMPT bugfix
Test: atest MobileNetworkPhoneNumberPreferenceControllerTest
Change-Id: I5f2392969fad1884a89de3870ad37be5601fbe37
* changes:
feat(A11yFeedback): Pixel overlay to expose the feedback bucket ID
feat(A11yFeedback): Add feedback entry for Accessibility page
feat(A11yFeedback): Add FeedbackManager for Accessibility page
Bug: 392190782
Test: manual (verify the navigation and the search still works the same)
Test: atest
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion
Change-Id: I7717390c70246503aec545991fd9a40be5152373