Merge "Update battery saver string and make r lowercase in Auto rotate" into sc-dev am: 3b3187b313
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14684634 Change-Id: Ic8f18ad55c97b02bef13d344c29967444a7282e6
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user