summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jaewan Kim <jaewan@google.com> 2016-05-18 10:02:45 +0900
committer Jaewan Kim <jaewan@google.com> 2016-05-18 10:02:45 +0900
commit16c91bd47f1ed378441adc89cde69b161562e3b3 (patch)
treefb6d29860b4b0e637b79db89c2f8775e248f30f3
parent0cfbb7643ef81cc8d1fd72bfe7c651d0e5e04949 (diff)
PIP: Fix NPE when enters Recents with PIP
Bug: 28826021 Change-Id: Ic81f705dccbd4b334ed5a26345fdc5fee23f5a68
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java b/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
index 5bb5091fb342..4341ab9cd869 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
@@ -335,12 +335,6 @@ public class RecentsTvActivity extends Activity implements OnPreDrawListener {
}
@Override
- protected void onStart() {
- super.onStart();
- updatePipUI();
- }
-
- @Override
public void onEnterAnimationComplete() {
super.onEnterAnimationComplete();
if(mLaunchedFromHome) {
@@ -391,6 +385,8 @@ public class RecentsTvActivity extends Activity implements OnPreDrawListener {
} else {
mTaskStackHorizontalGridView.setSelectedPosition(0);
}
+
+ updatePipUI();
}
@Override