diff options
Diffstat (limited to 'services/java/com/android/server/BatteryService.java')
| -rw-r--r-- | services/java/com/android/server/BatteryService.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/services/java/com/android/server/BatteryService.java b/services/java/com/android/server/BatteryService.java index 73f9fc3..2105e05 100644 --- a/services/java/com/android/server/BatteryService.java +++ b/services/java/com/android/server/BatteryService.java @@ -873,14 +873,14 @@ public final class BatteryService extends Binder { res.getInteger(com.android.internal.R.integer.config_notificationsBatteryFullARGB)); // Quiet Hours - mQuietHoursEnabled = Settings.System.getInt(resolver, - Settings.System.QUIET_HOURS_ENABLED, 0) != 0; - mQuietHoursStart = Settings.System.getInt(resolver, - Settings.System.QUIET_HOURS_START, 0); - mQuietHoursEnd = Settings.System.getInt(resolver, - Settings.System.QUIET_HOURS_END, 0); - mQuietHoursDim = Settings.System.getInt(resolver, - Settings.System.QUIET_HOURS_DIM, 0) != 0; + mQuietHoursEnabled = Settings.System.getIntForUser(resolver, + Settings.System.QUIET_HOURS_ENABLED, 0, UserHandle.USER_CURRENT) != 0; + mQuietHoursStart = Settings.System.getIntForUser(resolver, + Settings.System.QUIET_HOURS_START, 0, UserHandle.USER_CURRENT); + mQuietHoursEnd = Settings.System.getIntForUser(resolver, + Settings.System.QUIET_HOURS_END, 0, UserHandle.USER_CURRENT); + mQuietHoursDim = Settings.System.getIntForUser(resolver, + Settings.System.QUIET_HOURS_DIM, 0, UserHandle.USER_CURRENT) != 0; updateLedPulse(); } |
