summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Christopher Tate <ctate@google.com> 2014-12-02 23:43:58 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-12-02 23:44:00 +0000
commit99391361217cd9234ddc0570055677863cb6fb34 (patch)
treeed71758dfcd759c995caced0eccb4e6b55fb976d
parentd72901f0d47d2339d8cedb6af0b4d8c58b3178ae (diff)
parentf6f8cca782a291339f1e6277fe80cdb40936f0ac (diff)
Merge "Midnight should mean midnight" into lmp-mr1-dev
-rw-r--r--services/core/java/com/android/server/MountServiceIdler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/MountServiceIdler.java b/services/core/java/com/android/server/MountServiceIdler.java
index 215d92d8a49b..bc851a3f0ce0 100644
--- a/services/core/java/com/android/server/MountServiceIdler.java
+++ b/services/core/java/com/android/server/MountServiceIdler.java
@@ -98,7 +98,7 @@ public class MountServiceIdler extends JobService {
private static Calendar tomorrowMidnight() {
Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(System.currentTimeMillis());
- calendar.set(Calendar.HOUR, 0);
+ calendar.set(Calendar.HOUR_OF_DAY, 0);
calendar.set(Calendar.MINUTE, 0);
calendar.set(Calendar.SECOND, 0);
calendar.set(Calendar.MILLISECOND, 0);