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

Commit 20d45cc6 authored by Arc Wang's avatar Arc Wang Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in DrawOverlayDetails#getSummary" into sc-dev

parents 5af530a0 b7202aa3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -158,6 +158,10 @@ public class DrawOverlayDetails extends AppInfoWithHeader implements OnPreferenc
    }

    public static CharSequence getSummary(Context context, AppEntry entry) {
        if (entry == null) {
            return "";
        }

        OverlayState state;
        if (entry.extraInfo instanceof OverlayState) {
            state = (OverlayState) entry.extraInfo;