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

Commit b144bd75 authored by Michael Jurka's avatar Michael Jurka
Browse files

Fix NPE in Recent Apps

Change-Id: I936e053a806a1cbf9ac98fb5707d34924c94ff60
parent 81754949
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -181,7 +181,14 @@ public class RecentsPanelView extends RelativeLayout implements OnItemClickListe
    }

    public boolean isInContentArea(int x, int y) {
        return pointInside(x, y, mRecentsContainer) || pointInside(x, y, mStatusBarTouchProxy);
        if (pointInside(x, y, mRecentsContainer)) {
            return true;
        } else if (mStatusBarTouchProxy != null &&
                pointInside(x, y, mStatusBarTouchProxy)) {
            return true;
        } else {
            return false;
        }
    }

    public void show(boolean show, boolean animate) {