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

Commit 5edde5f1 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Remove 'until next alarm'.

Test: manual
Bug: 32773368
Change-Id: I03db93d9371327a8e32929ce7fda66729cfe4a82
parent 5c47b5ec
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -544,8 +544,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;