Loading res/values/strings.xml +5 −2 Original line number Diff line number Diff line Loading @@ -98,11 +98,11 @@ <string name="font_size_make_larger_desc">Make larger</string> <!-- Auto rotate switchbar title. [CHAR_LIMIT=NONE] --> <string name="auto_rotate_settings_primary_switch_title">Use Auto-Rotate</string> <string name="auto_rotate_settings_primary_switch_title">Use Auto-rotate</string> <!-- Disclaimer for camera based rotate [CHAR_LIMIT=NONE] --> <string name="smart_rotate_text_headline"> Face Detection uses the front-facing camera to improve Auto-Rotate accuracy. Images are never stored or sent to Google.<br><br> Face Detection uses the front-facing camera to improve Auto-rotate accuracy. Images are never stored or sent to Google.<br><br> <a href="<xliff:g example="http://www.google.com" id="url">http://support.google.com/mobile?p=telephony_rtt</xliff:g>">Learn more</a> </string> <string name="font_size_preview_text_headline">Sample text</string> Loading Loading @@ -11471,6 +11471,9 @@ <!-- [CHAR LIMIT=60] Summary string for screen attention explaining why the toggle is disabled by battery saver--> <string name="ambient_camera_summary_battery_saver_on">Temporarily disabled due to Battery Saver</string> <!-- [CHAR LIMIT=60] Button text for screen attention to turn off battery saver--> <string name="ambient_camera_battery_saver_off">Turn off battery saver</string> <!-- [CHAR LIMIT=60] Summary string on dark theme explaining why the toggle is disabled while the setting is off--> <string name="dark_ui_mode_disabled_summary_dark_theme_off">Temporarily turned on due to Battery Saver</string> src/com/android/settings/display/SmartAutoRotateBatterySaverController.java +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ public class SmartAutoRotateBatterySaverController extends BasePreferenceControl super.displayPreference(screen); mPreference = screen.findPreference(getPreferenceKey()); ((BannerMessagePreference) mPreference) .setPositiveButtonText(R.string.disable_text) .setPositiveButtonText(R.string.ambient_camera_battery_saver_off) .setPositiveButtonOnClickListener(v -> { mPowerManager.setPowerSaveModeEnabled(false); }); Loading Loading
res/values/strings.xml +5 −2 Original line number Diff line number Diff line Loading @@ -98,11 +98,11 @@ <string name="font_size_make_larger_desc">Make larger</string> <!-- Auto rotate switchbar title. [CHAR_LIMIT=NONE] --> <string name="auto_rotate_settings_primary_switch_title">Use Auto-Rotate</string> <string name="auto_rotate_settings_primary_switch_title">Use Auto-rotate</string> <!-- Disclaimer for camera based rotate [CHAR_LIMIT=NONE] --> <string name="smart_rotate_text_headline"> Face Detection uses the front-facing camera to improve Auto-Rotate accuracy. Images are never stored or sent to Google.<br><br> Face Detection uses the front-facing camera to improve Auto-rotate accuracy. Images are never stored or sent to Google.<br><br> <a href="<xliff:g example="http://www.google.com" id="url">http://support.google.com/mobile?p=telephony_rtt</xliff:g>">Learn more</a> </string> <string name="font_size_preview_text_headline">Sample text</string> Loading Loading @@ -11471,6 +11471,9 @@ <!-- [CHAR LIMIT=60] Summary string for screen attention explaining why the toggle is disabled by battery saver--> <string name="ambient_camera_summary_battery_saver_on">Temporarily disabled due to Battery Saver</string> <!-- [CHAR LIMIT=60] Button text for screen attention to turn off battery saver--> <string name="ambient_camera_battery_saver_off">Turn off battery saver</string> <!-- [CHAR LIMIT=60] Summary string on dark theme explaining why the toggle is disabled while the setting is off--> <string name="dark_ui_mode_disabled_summary_dark_theme_off">Temporarily turned on due to Battery Saver</string>
src/com/android/settings/display/SmartAutoRotateBatterySaverController.java +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ public class SmartAutoRotateBatterySaverController extends BasePreferenceControl super.displayPreference(screen); mPreference = screen.findPreference(getPreferenceKey()); ((BannerMessagePreference) mPreference) .setPositiveButtonText(R.string.disable_text) .setPositiveButtonText(R.string.ambient_camera_battery_saver_off) .setPositiveButtonOnClickListener(v -> { mPowerManager.setPowerSaveModeEnabled(false); }); Loading