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

Commit f64677e0 authored by Yuri Lin's avatar Yuri Lin Committed by Android (Google) Code Review
Browse files

Merge "Call super.updateState() to set checked status of work profile switch" into main

parents 7d8717df 21327c6e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -131,6 +131,7 @@ public class PoliteNotifWorkProfileToggleController extends TogglePreferenceCont
    public void updateState(@Nullable Preference preference) {
        if (preference == null) return;
        preference.setVisible(isAvailable());
        super.updateState(preference);
    }

    private boolean isCoolDownEnabledForPrimary() {