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

Commit 9dcfe061 authored by John Spurlock's avatar John Spurlock
Browse files

QuickSettings: Guard against bad input to handleShowDetail.

Bug:15326440
Change-Id: I473cedb2c41dadf88596ea54a8f8a881ca4e27ba
parent 4732af88
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -152,6 +152,7 @@ public class QSPanel extends ViewGroup {
    }

    private void handleShowDetail(TileRecord r, boolean show) {
        if (r == null) return;
        AnimatorListener listener = null;
        if (show) {
            if (mDetailRecord != null) return;