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

Commit 177a976a authored by Julia Reynolds's avatar Julia Reynolds Committed by android-build-merger
Browse files

Remove 'until next alarm'.

am: 5edde5f1

Change-Id: I0f247f52155f78cefe0d2e850e9d5f1ca65dfb42
parents 6966f450 5edde5f1
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -547,8 +547,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;