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

Commit 552c5af9 authored by Jaewan Kim's avatar Jaewan Kim Committed by android-build-merger
Browse files

Merge "PIP: Fix system UI crash" into nyc-dev

am: 28d9c9f7

* commit '28d9c9f7':
  PIP: Fix system UI crash

Change-Id: Ief778c79108ac6d2eb5e7b2406f9c6d1da6c8ca7
parents c3bd9dc9 28d9c9f7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ public class PipRecentsOverlayManager {
     */
    public void requestFocus(boolean allowRecentsFocusable) {
        mRecentsView.setVisibility(allowRecentsFocusable ? View.VISIBLE : View.GONE);
        if (!mIsRecentsShown || mIsPipFocusedInRecent) {
        if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || mIsPipFocusedInRecent) {
            return;
        }
        mIsPipFocusedInRecent = true;
@@ -153,7 +153,7 @@ public class PipRecentsOverlayManager {
     * This should be called only by {@link com.android.systemui.recents.tv.RecentsTvActivity}.
     */
    public void clearFocus() {
        if (!mIsRecentsShown || !mIsPipFocusedInRecent) {
        if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || !mIsPipFocusedInRecent) {
            return;
        }
        if (!mRecentsView.hasFocus()) {