File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
packages/SystemUI/src/com/android/systemui/statusbar/tablet Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -514,6 +514,16 @@ protected View makeStatusBarView() {
514514 // don't wait for these transitions; we just want icons to fade in/out, not move around
515515 lt .setDuration (LayoutTransition .CHANGE_APPEARING , 0 );
516516 lt .setDuration (LayoutTransition .CHANGE_DISAPPEARING , 0 );
517+ lt .addTransitionListener (new LayoutTransition .TransitionListener () {
518+ public void endTransition (LayoutTransition transition , ViewGroup container ,
519+ View view , int transitionType ) {
520+ // ensure the menu button doesn't stick around on the status bar after it's been
521+ // removed
522+ mBarContents .invalidate ();
523+ }
524+ public void startTransition (LayoutTransition transition , ViewGroup container ,
525+ View view , int transitionType ) {}
526+ });
517527 mNavigationArea .setLayoutTransition (lt );
518528 // no multi-touch on the nav buttons
519529 mNavigationArea .setMotionEventSplittingEnabled (false );
You can’t perform that action at this time.
0 commit comments