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

Commit 0ea2d6fb authored by Beverly's avatar Beverly
Browse files

Update enabled state of ZenRulePreference

Test: manual
  1. Settings > Sound > Do Not Disturb > Schedules > Sleeping
  2. Toggle enable state of DND rule to ON
  3. Navigate back
  4. Observe: Sleeping rule is enabled visually (check box is checked)
Fixes: 140090071
Change-Id: I44078cdba9642eea93f9b6d2eb3eef486d3c38bc
parent d4cf0b68
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -125,8 +125,8 @@ public class ZenRulePreference extends TwoTargetPreference {
        }

        if (mRule.isEnabled() != rule.isEnabled()) {
            setChecked(mRule.isEnabled());
            setSummary(computeRuleSummary(mRule));
            setChecked(rule.isEnabled());
            setSummary(computeRuleSummary(rule));
        }

        mRule = rule;