commit | ed0f7e22978536491af49f4bbca3349b6d95f44c | [log] [tgz] |
---|---|---|
author | Wale Ogunwale <ogunwale@google.com> | Wed Feb 17 16:04:58 2016 -0800 |
committer | Wale Ogunwale <ogunwale@google.com> | Wed Feb 17 16:37:42 2016 -0800 |
tree | 5beaf0e89e9962c0031a583704ec909d942f9477 | |
parent | 7caa0b872479fef4067fbc1f824ca184addf9c37 [diff] |
Make PipOverlayActivity views visible onResume Also moved the scheduling of the invisible timeout to onResume. Change-Id: If56d61a2e20b08748e1c9f7f3ab1b12b22320110
diff --git a/packages/SystemUI/src/com/android/systemui/tv/pip/PipOverlayActivity.java b/packages/SystemUI/src/com/android/systemui/tv/pip/PipOverlayActivity.java index b407935..7b1764f 100644 --- a/packages/SystemUI/src/com/android/systemui/tv/pip/PipOverlayActivity.java +++ b/packages/SystemUI/src/com/android/systemui/tv/pip/PipOverlayActivity.java
@@ -50,8 +50,9 @@ } @Override - protected void onStart() { - super.onStart(); + protected void onResume() { + super.onResume(); + mGuideOverlayView.setVisibility(View.VISIBLE); mHandler.removeCallbacks(mHideGuideOverlayRunnable); mHandler.postDelayed(mHideGuideOverlayRunnable, SHOW_GUIDE_OVERLAY_VIEW_DURATION_MS); }