Add autoclick shortcut to search index when
enable_autoclick_indicator flag is enabled.
Hide it when the flag is off.
Bug: 397719419
Test: atest ToggleAutoclickPreferenceFragmentTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: Ib6d25067d024ff0dbea64d17d38fc544c615db97
1. update button style to use custom one
2. use scrollview so it won't be truncated in shorter screen
Bug:389973784
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: I57765e88751b6090606d56bbe2335813ef7fd2fc
The two tests when running together, one of them would fail. Verified the user workflow is not affected, so simply ignore the test to unblock presubmit. Will fix the test later.
BUG: 398023330
Test: atest SettingsRoboTests:com.android.settings.accessibility.DaltonizerPreferenceTest SettingsRoboTests:com.android.settings.accessibility.ColorInversionPreferenceTest
Flag: EXEMPT test only
Change-Id: Ie978223dc9ec85aead624e4d6e0b91b033a7f7d1
Root Cause: Only setMicrophonePreferredForCalls and show UI to current device, but audioManager
might hold other device in the same set
Solution: setMicrophonePreferredForCalls to whole device set and also check if any address in device
set contain in audioManager GET_DEVICES_INPUTS list
Bug: 392902067
Test: atest BluetoothDetailsHearingDeviceInputRoutingControllerTest
Flag: EXEMPT bugfix
Change-Id: Ic5846de26df4a8db67fa8efcf474fa4509f7918a
Use a ViewModel to store reboot dialog fragment state on rotations.
Test: locally verified rotations on few dev options that use the reboot fragment
Test: atest
com.android.settings.development.RebootConfirmationDialogFragmentTest
--iterations 25 (Passed)
Bug: 356273849
Flag: EXEMPT bug fix
Change-Id: I154170ea5fa91bcbec32af43853c5f99f8e8253d
The minimum value which can be set as trigger for
Battery saver was changed from 10% -> 20% however the
settings UI was not aligned with this change.
ref: b0fe225 Update the battery saver scheduler minimum level
Update the UI to align with the minimum trigger
level.
Bug: 396444535
Test: manual, check minimum seekbar value after reboot.
Test: atest BatterySaverScheduleSeekBarControllerTest
Change-Id: I4baa766ff1cb78ce656ae340ce930094b9e124e0
This change moves the time_help_and_feedback_feature_supported flag from the settings_ui namespace to the system_time namespace.
Flag: EXEMPT refactor
Bug: 283239837
Change-Id: Ic1fcafd3cdbd263d7b800ac7676701628361de63
FP will handle set temp for manual pair in Settings
Test: atest
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Bug: 392004799
Change-Id: I3afae523ef0d5a6c236a482127a714f422a6e000
- Keep the Save button enabled at all times
- Show "Enter the SSID" to remind the user
Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
atest SettingsUnitTests:AddNetworkFragmentTest
atest WifiConfigController2Test
Change-Id: I6cc6b197864511ee2c1c92affc67698b1761f11d
Adds a click listener to the ethernet interface row and displays a
settings subpage with interface connection status.
Flag: com.android.settings.connectivity.ethernet_settings
Test: atest SettingsRoboTests:
com.android.settings.network.NetworkProviderSettingsTest
Change-Id: Id64ce3657b47dd4ca70d425dd3d13227c8468d2c
- Update card preference: Update icon hint color by banner attention level
- Remove redundant color token: Use the existing Material yellow as a warning color
Bug: 349652542
Test: atest BatteryTipsControllerTest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I35730eb4716e9dbd712c22db63490e8bc06fc482
This cleans up the magnification mode controller and related code. It
also fixes most of the lint errors in the files.
NO_IFTTT=linter not working
Bug: b/388335935
Flag: EXEMPT refactor
Test: com.android.settings.accessibility.ToggleScreenMagnificationPreferenceFragmentTest & com.android.settings.accessibility.MagnificationModePreferenceControllerTest
Change-Id: I368128c3c71285a9511a7831e1d01232e7536d2f
* changes:
Show turn off talkback dialog if needed in find an audio stream page.
Show turn off talkback dialog if needed in `AudioStreamConfirmDialog`.
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
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
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