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

Commit 41a36bcc authored by Matías Hernández's avatar Matías Hernández Committed by Android (Google) Code Review
Browse files

Merge "Add ZenMode.isEnabled()" into main

parents b07f334c ed724509
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -298,6 +298,10 @@ public class ZenMode implements Parcelable {
        return mIsManualDnd;
    }

    public boolean isEnabled() {
        return mRule.isEnabled();
    }

    public boolean isActive() {
        return mStatus == Status.ENABLED_AND_ACTIVE;
    }