diff options
| author | 2012-02-14 23:24:17 -0800 | |
|---|---|---|
| committer | 2012-02-14 23:25:08 -0800 | |
| commit | 693ce6447d6e36b79d4b13effccce10118c3ccc6 (patch) | |
| tree | ea912f1ee6efe593fe14cdc83fc5f4069b9b05a2 | |
| parent | a17a7953f9385155e2d0d7b24d1395ed49147da3 (diff) | |
Fix recents on crespo
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/recent/Choreographer.java | 4 | ||||
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recent/Choreographer.java b/packages/SystemUI/src/com/android/systemui/recent/Choreographer.java index f8a45923349b..dc2f0be40542 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/Choreographer.java +++ b/packages/SystemUI/src/com/android/systemui/recent/Choreographer.java @@ -134,7 +134,9 @@ import android.view.View; void jumpTo(boolean appearing) { mContentView.setTranslationY(appearing ? 0 : mPanelHeight); - mScrimView.getBackground().setAlpha(appearing ? 255 : 0); + if (mScrimView.getBackground() != null) { + mScrimView.getBackground().setAlpha(appearing ? 255 : 0); + } } public void setPanelHeight(int h) { diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java index 8706f10128b3..78967203e889 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java @@ -239,6 +239,7 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener public void show(boolean show, boolean animate) { if (show) { + refreshRecentTasksList(null, true); mWaitingToShow = true; mWaitingToShowAnimated = animate; showIfReady(); |