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

Commit 9ac01a74 authored by Filip Gruszczynski's avatar Filip Gruszczynski
Browse files

Fix NPE in ActivityStack.

Change-Id: Ib2cce4e9e0ce16d28d2aec73585a461405ad90d8
parent bba5a151
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -390,8 +390,10 @@ final class ActivityStack {

    void setBounds(Rect bounds) {
        mBounds = mFullscreen ? null : new Rect(bounds);
        if (mTaskPositioner != null) {
            mTaskPositioner.configure(bounds);
        }
    }

    boolean okToShowLocked(ActivityRecord r) {
        return mStackSupervisor.okToShowLocked(r);