- Enable16KbTest is flaky for aosp targets. Make sure that device
is connected and with root each time before and after running the
test.
- Add OWNERS file Enable16KbTest
Test: atest -c Enable16KbTest
Bug: 396984821
Change-Id: Ifffb73496b0947dda13a4022733677bd645b7e16
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
The SIM EID field was already not being shown if the
PackageManger.FEATURE_TELEPHONY_DATA feature flag was not set, per the
check in getIsAvailableAndUpdateEid().
The async availability update was introduced in the context of bug
304560734, because the UI could block until the EID value was ready.
The config_show_sim_info check was left in getAvailabilityStatus() as
that cannot block.
This change moves to getAvailabilityStatus() the availability check
based on the PackageManager feature flags (which are set on system
boot and not changed during runtime) and also based on whether the
user is admin or not, as with any other telephony related setting.
None of these two checks would lead to ANR state.
Bug: 395714454
Flag: EXEMPT bugfix
Test: atest SimEidPreferenceControllerTest
Change-Id: I3447091670345285132a2acaf45cd129c2b84c00
- 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
storage_summary is passed as a single string of format "32 GB".
Spliting the phrase to allow TC to remove whitespace in case of iw
translations.
Old Translation : <free_space>
New Translation: <free_space_value> <free_space_unit>
Bug: 387197875
Test: manual
Flag: EXEMPT bugfix
Change-Id: I91abf58df472650a6278b08e4daa5d32e7f90da9
- 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
Revert submission 31790253
Reason for revert: DroidMonitor: Potential culprit for http://b/397368653 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:31790253
Change-Id: I851046019821fff0d132efb0b00cbff1e3ecbe72
* 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
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