Loading packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java +3 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java +3 −2 Original line number Diff line number Diff line Loading @@ -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; Loading