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

Commit 462c9b9b authored by jrizzoli's avatar jrizzoli Committed by Gerrit Code Review
Browse files

base: zenmode: add 90 minutes downtime



Add 90 mins downtime.

Change-Id: I2d2ff2a4d262b70c6c810de664fa499dcb76ac9e
Signed-off-by: default avatarjrizzoli <joey@cyanogenmoditalia.it>
parent 1cba30a7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -61,8 +61,8 @@ public class ZenModeConfig implements Parcelable {
    public static final int[] WEEKNIGHT_DAYS = { Calendar.SUNDAY, Calendar.MONDAY, Calendar.TUESDAY,
            Calendar.WEDNESDAY, Calendar.THURSDAY };

    public static final int[] MINUTE_BUCKETS = new int[] { 15, 30, 45, 60, 120, 180, 240, 480, 600,
            720 };
    public static final int[] MINUTE_BUCKETS = new int[] { 15, 30, 45, 60, 90, 120, 180, 240, 480,
         600, 720 };
    private static final int SECONDS_MS = 1000;
    private static final int MINUTES_MS = 60 * SECONDS_MS;
    private static final int ZERO_VALUE_MS = 10 * SECONDS_MS;
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ public class ZenModePanel extends LinearLayout {
    private static final int MINUTES_MS = 60 * SECONDS_MS;

    private static final int[] MINUTE_BUCKETS = DEBUG
            ? new int[] { 0, 1, 2, 5, 15, 30, 45, 60, 120, 180, 240, 480, 600, 720 }
            ? new int[] { 0, 1, 2, 5, 15, 30, 45, 60, 90, 120, 180, 240, 480, 600, 720 }
            : ZenModeConfig.MINUTE_BUCKETS;
    private static final int MIN_BUCKET_MINUTES = MINUTE_BUCKETS[0];
    private static final int MAX_BUCKET_MINUTES = MINUTE_BUCKETS[MINUTE_BUCKETS.length - 1];