summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2018-07-05 05:46:04 -0700
committer android-build-merger <android-build-merger@google.com> 2018-07-05 05:46:04 -0700
commitee2bfdd54bd8fe2473fa2f47b026aaea7c4f47ce (patch)
treeebb9cdd325117f4eb97669588f3ff156a7916a65
parented6cc299f4e21d27582b3883b1aa126215e9f1f3 (diff)
parent36beeefc84ddf6062a862bbc378d2f3719d96c0c (diff)
Merge "Remove unusual static method call" am: cbe9c295a3
am: 36beeefc84 Change-Id: I6ecfb33be300b88a9308102595f0e79cf2f18ae4
-rw-r--r--packages/SystemUI/src/com/android/systemui/doze/DozeUi.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/doze/DozeUi.java b/packages/SystemUI/src/com/android/systemui/doze/DozeUi.java
index b7ff98402081..b1d76fddcaaa 100644
--- a/packages/SystemUI/src/com/android/systemui/doze/DozeUi.java
+++ b/packages/SystemUI/src/com/android/systemui/doze/DozeUi.java
@@ -33,7 +33,6 @@ import com.android.systemui.util.AlarmTimeout;
import com.android.systemui.util.wakelock.WakeLock;
import java.util.Calendar;
-import java.util.GregorianCalendar;
/**
* The policy controlling doze.
@@ -184,7 +183,7 @@ public class DozeUi implements DozeMachine.Part {
}
private long roundToNextMinute(long timeInMillis) {
- Calendar calendar = GregorianCalendar.getInstance();
+ Calendar calendar = Calendar.getInstance();
calendar.setTimeInMillis(timeInMillis);
calendar.set(Calendar.MILLISECOND, 0);
calendar.set(Calendar.SECOND, 0);