Skip to content
Commit 92cdc549 authored by Raff Tsai's avatar Raff Tsai
Browse files

Fix battery saver slider is not displaying

- Doesn't save Settings values to secondary user, caused
BatterySaverUtils.maybeShowBatterySaverConfirmation return true.
BatterySaverScheduleRadioButtonsController reset some Settings to
default when maybeShowBatterySaverConfirmation is true which lead
to the slider hiding.

Fixes: 133782238
Test: change to secondary user. Open Settings -> Battery ->
      Battery Saver -> Set a schedule. User will not see confirm
      dialog after switch different schedule.

Change-Id: I4b8706fd0c542a199fd1e08a44e7a542fbb2d7e7
parent bc189e7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment