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

Commit 35cb0d48 authored by Youngsang Cho's avatar Youngsang Cho Committed by android-build-merger
Browse files

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

am: a7932ad2

* commit 'a7932ad2':
  PIP: Fix system UI crash

Change-Id: I3b862c6f01bf05407cf4655a1bd48e732df52084
parents 3cff77b8 a7932ad2
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()) {