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

Commit 394ede6f authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Fix activity NPE when clearing flags" into sc-dev

parents ea0463d2 6151a345
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3152,7 +3152,9 @@ public abstract class RecentsView<T extends StatefulActivity> extends PagedView
            MAIN_EXECUTOR.execute(() -> {
                // Needed for activities that auto-enter PiP, which will not trigger a remote
                // animation to be created
                if (mActivity != null) {
                    mActivity.clearForceInvisibleFlag(STATE_HANDLER_INVISIBILITY_FLAGS);
                }
            });
        }
    }