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);
|
setToMidnight(nextAlarm);
|
||||||
|
|
||||||
if (weekRange.compareTo(nextAlarm) >= 0) {
|
if (weekRange.compareTo(nextAlarm) >= 0) {
|
||||||
return ZenModeConfig.toNextAlarmCondition(mContext, now,
|
return ZenModeConfig.toTimeCondition(mContext, nextAlarmMs,
|
||||||
nextAlarmMs, ActivityManager.getCurrentUser());
|
Math.round((nextAlarmMs - now) / (float) MINUTES_MS),
|
||||||
|
ActivityManager.getCurrentUser(), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user