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

Commit 615f2602 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes IllegalStateException caused by child already having parent"

parents 229ae4a4 d747025c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -148,6 +148,7 @@ public class KeyguardClockSwitch extends RelativeLayout {
        Dependency.get(StatusBarStateController.class).removeCallback(mStateListener);
        Dependency.get(SysuiColorExtractor.class)
            .removeOnColorsChangedListener(mColorsListener);
        setClockPlugin(null);
    }

    private void setClockPlugin(ClockPlugin plugin) {