Remove 'until next alarm'.
Test: manual Bug: 32773368 Change-Id: I03db93d9371327a8e32929ce7fda66729cfe4a82
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user