Update titles and summaries of the Date and time settings page
Design doc: go/dd-android-settings-time-2024 This change covers Part 1, which consists of adding user-friendly summary under each toggle and rewording titles. Bug: 296835792 Test: on-device and atest Flag: EXEMPT resource only update Change-Id: I0b685743599880fc1c4ad680eca9c36e4e64d0ff
This commit is contained in:
@@ -129,11 +129,11 @@ public class AutoTimeZonePreferenceController extends TogglePreferenceController
|
||||
// time zone must use location.
|
||||
if (LocationProviderStatusPreferenceController.hasLocationTimeZoneNoTelephonyFallback(
|
||||
mTimeManager.getTimeZoneCapabilitiesAndConfig().getDetectorStatus())) {
|
||||
return mContext.getResources().getString(R.string.auto_zone_requires_location_summary);
|
||||
return mContext.getString(R.string.auto_zone_requires_location_summary);
|
||||
}
|
||||
// If the user has a dedicated toggle to control location use, the summary can
|
||||
// be empty because the use of location is explicit.
|
||||
return "";
|
||||
|
||||
// If the user has a dedicated toggle to control location use, explain what it does.
|
||||
return mContext.getString(R.string.zone_auto_title_summary);
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
||||
Reference in New Issue
Block a user