diff options
author | Daniel Sandler <dsandler@android.com> | 2011-12-07 16:33:31 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-12-07 16:33:31 -0800 |
commit | dc8cb9aa7e8f341ab88ae57e9d2cb99502844e5b (patch) | |
tree | 22eb5b7f20311e5f320e7cb8266849e1db11e6f3 | |
parent | 1662a874fb65b915b6c3d8a213c1bd0c718059b5 (diff) | |
parent | 5a8266083252e172fe784fa0edaebe3c775cd848 (diff) | |
download | frameworks_base-dc8cb9aa7e8f341ab88ae57e9d2cb99502844e5b.zip frameworks_base-dc8cb9aa7e8f341ab88ae57e9d2cb99502844e5b.tar.gz frameworks_base-dc8cb9aa7e8f341ab88ae57e9d2cb99502844e5b.tar.bz2 |
Merge "Invalidate the whole status bar after layout transitions." into ics-mr1
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java index b919aec..05ad793 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java @@ -514,6 +514,16 @@ public class TabletStatusBar extends StatusBar implements // don't wait for these transitions; we just want icons to fade in/out, not move around lt.setDuration(LayoutTransition.CHANGE_APPEARING, 0); lt.setDuration(LayoutTransition.CHANGE_DISAPPEARING, 0); + lt.addTransitionListener(new LayoutTransition.TransitionListener() { + public void endTransition(LayoutTransition transition, ViewGroup container, + View view, int transitionType) { + // ensure the menu button doesn't stick around on the status bar after it's been + // removed + mBarContents.invalidate(); + } + public void startTransition(LayoutTransition transition, ViewGroup container, + View view, int transitionType) {} + }); mNavigationArea.setLayoutTransition(lt); // no multi-touch on the nav buttons mNavigationArea.setMotionEventSplittingEnabled(false); |