summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recent
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2012-02-14 23:24:17 -0800
committerMichael Jurka <mikejurka@google.com>2012-02-14 23:25:08 -0800
commit693ce6447d6e36b79d4b13effccce10118c3ccc6 (patch)
treeea912f1ee6efe593fe14cdc83fc5f4069b9b05a2 /packages/SystemUI/src/com/android/systemui/recent
parenta17a7953f9385155e2d0d7b24d1395ed49147da3 (diff)
downloadframeworks_base-693ce6447d6e36b79d4b13effccce10118c3ccc6.zip
frameworks_base-693ce6447d6e36b79d4b13effccce10118c3ccc6.tar.gz
frameworks_base-693ce6447d6e36b79d4b13effccce10118c3ccc6.tar.bz2
Fix recents on crespo
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recent')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recent/Choreographer.java4
-rw-r--r--packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java1
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 f8a4592..dc2f0be 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 8706f10..7896720 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();