Loading packages/SystemUI/src/com/android/systemui/tv/pip/PipRecentsOverlayManager.java +4 −2 Original line number Diff line number Diff line Loading @@ -134,7 +134,8 @@ public class PipRecentsOverlayManager { */ public void requestFocus(boolean allowRecentsFocusable) { mRecentsView.setVisibility(allowRecentsFocusable ? View.VISIBLE : View.GONE); if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || mIsPipFocusedInRecent) { if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || mIsPipFocusedInRecent || !mPipManager.isPipShown()) { return; } mIsPipFocusedInRecent = true; Loading @@ -153,7 +154,8 @@ public class PipRecentsOverlayManager { * This should be called only by {@link com.android.systemui.recents.tv.RecentsTvActivity}. */ public void clearFocus() { if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || !mIsPipFocusedInRecent) { if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || !mIsPipFocusedInRecent || !mPipManager.isPipShown()) { return; } if (!mRecentsView.hasFocus()) { Loading Loading
packages/SystemUI/src/com/android/systemui/tv/pip/PipRecentsOverlayManager.java +4 −2 Original line number Diff line number Diff line Loading @@ -134,7 +134,8 @@ public class PipRecentsOverlayManager { */ public void requestFocus(boolean allowRecentsFocusable) { mRecentsView.setVisibility(allowRecentsFocusable ? View.VISIBLE : View.GONE); if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || mIsPipFocusedInRecent) { if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || mIsPipFocusedInRecent || !mPipManager.isPipShown()) { return; } mIsPipFocusedInRecent = true; Loading @@ -153,7 +154,8 @@ public class PipRecentsOverlayManager { * This should be called only by {@link com.android.systemui.recents.tv.RecentsTvActivity}. */ public void clearFocus() { if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || !mIsPipFocusedInRecent) { if (!mIsPipRecentsOverlayShown || !mIsRecentsShown || !mIsPipFocusedInRecent || !mPipManager.isPipShown()) { return; } if (!mRecentsView.hasFocus()) { Loading