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

Commit 705727e3 authored by Julia Reynolds's avatar Julia Reynolds Committed by android-build-merger
Browse files

Remove 'until next alarm'. am: 5edde5f1

am: 177a976a

Change-Id: Ibc7fa4b34ea4822e61c78477007cef862dfe0127
parents 063f75d6 177a976a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -552,8 +552,9 @@ public class ZenModePanel extends LinearLayout {
            setToMidnight(nextAlarm);

            if (weekRange.compareTo(nextAlarm) >= 0) {
                return ZenModeConfig.toNextAlarmCondition(mContext, now,
                        nextAlarmMs, ActivityManager.getCurrentUser());
                return ZenModeConfig.toTimeCondition(mContext, nextAlarmMs,
                        Math.round((nextAlarmMs - now) / (float) MINUTES_MS),
                        ActivityManager.getCurrentUser(), true);
            }
        }
        return null;