Merge "Remove 'until next alarm'." into nyc-mr2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fd5f6e9446
@@ -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