@@ -301,6 +301,9 @@ public boolean onTouch(View v, MotionEvent event) {
301301 return true ;
302302 }
303303 });
304+ mNotificationPanel .setSystemUiVisibility (
305+ View .STATUS_BAR_DISABLE_NOTIFICATION_TICKER
306+ | View .STATUS_BAR_DISABLE_SYSTEM_INFO );
304307
305308 if (!ActivityManager .isHighEndGfx (mDisplay )) {
306309 mStatusBarWindow .setBackground (null );
@@ -336,7 +339,6 @@ public boolean onTouch(View v, MotionEvent event) {
336339 mPixelFormat = PixelFormat .OPAQUE ;
337340 mStatusIcons = (LinearLayout )mStatusBarView .findViewById (R .id .statusIcons );
338341 mNotificationIcons = (IconMerger )mStatusBarView .findViewById (R .id .notificationIcons );
339- mMoreIcon = mStatusBarView .findViewById (R .id .moreIcon );
340342 mNotificationIcons .setOverflowIndicator (mMoreIcon );
341343 mIcons = (LinearLayout )mStatusBarView .findViewById (R .id .icons );
342344 mTickerView = mStatusBarView .findViewById (R .id .ticker );
@@ -884,6 +886,15 @@ public void disable(int state) {
884886 flagdbg .append (((diff & StatusBarManager .DISABLE_CLOCK ) != 0 ) ? "* " : " " );
885887 flagdbg .append (">" );
886888 Slog .d (TAG , flagdbg .toString ());
889+
890+ if ((diff & StatusBarManager .DISABLE_SYSTEM_INFO ) != 0 ) {
891+ mIcons .animate ().cancel ();
892+ if ((state & StatusBarManager .DISABLE_SYSTEM_INFO ) != 0 ) {
893+ mIcons .animate ().alpha (0f ).setStartDelay (100 ).setDuration (200 ).start ();
894+ } else {
895+ mIcons .animate ().alpha (1f ).setStartDelay (0 ).setDuration (300 ).start ();
896+ }
897+ }
887898
888899 if ((diff & StatusBarManager .DISABLE_CLOCK ) != 0 ) {
889900 boolean show = (state & StatusBarManager .DISABLE_CLOCK ) == 0 ;
0 commit comments