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

Commit d9bb7a8d authored by Michael Jurka's avatar Michael Jurka Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in Recent Apps"

parents 2fdc357b b144bd75
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) {