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
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`.
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
* 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
This change introduces a feature provider for Pixel overlays, allowing
customization of the feedback bucket ID on Android.
Bug: 393980229
Test: Manual testing for Pixel and non-Pixel overlay in real device
Test: atest AccessibilitySettingsTest
FeedbackManagerTest
Flag: com.android.server.accessibility.enable_low_vision_generic_feedback
Change-Id: Ieeb1dba4de5c13a275e66781621cbfcca7219a5e
This entry point allows users to access in the action bar.
Visibility is controlled by the aconfig and FeedbackManager#isAvailable
Bug: 393981463
Test: atest AccessibilitySettingsTest
Flag: com.android.server.accessibility.enable_low_vision_generic_feedback
Change-Id: I8c219b8220b5839121d14959fe526e6200afeecb
To group desktop experience and window management options
Test: Build and check
Bug: 390625230
Flag: EXEMPT (refactor)
Change-Id: Ie076501da68045fa5f1098423a42d32f16a02838