Merge "Fix UI flicker problem and update wordings"

This commit is contained in:
TreeHugger Robot
2022-06-24 10:07:05 +00:00
committed by Android (Google) Code Review
4 changed files with 7 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ public class LocationTimeZoneDetectionPreferenceController
// If capability is possessed, toggle status already tells all the information needed.
// Returning null will make previous text stick on toggling.
// See AbstractPreferenceController#refreshSummary.
return "";
summaryResId = R.string.location_time_zone_detection_auto_is_on;
} else {
// This is unexpected: getAvailabilityStatus() should ensure that the UI element isn't
// even shown for known cases, or the capability is unknown.