Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee2bfdd5 authored by Neil Fuller's avatar Neil Fuller Committed by android-build-merger
Browse files

Merge "Remove unusual static method call" am: cbe9c295

am: 36beeefc

Change-Id: I6ecfb33be300b88a9308102595f0e79cf2f18ae4
parents ed6cc299 36beeefc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);