Show shade footer when hun is posted while shade is open
When the shade is open, the footer show always show when the number of notifications is > 0 Empty shade takes visibility state doesnt represent the shade state and is updated afterwards Fixes: 192370096 Test: visual Change-Id: I8442b6ce8e3fba85967d1a3e3392d820dc931e91
This commit is contained in:
@@ -682,8 +682,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
|
||||
boolean showDismissView = mClearAllEnabled &&
|
||||
mController.hasActiveClearableNotifications(ROWS_ALL);
|
||||
RemoteInputController remoteInputController = mRemoteInputManager.getController();
|
||||
boolean showFooterView = (showDismissView || mController.hasActiveNotifications())
|
||||
&& mEmptyShadeView.getVisibility() == GONE
|
||||
boolean showFooterView = (showDismissView || getVisibleNotificationCount() > 0)
|
||||
&& mStatusBarState != StatusBarState.KEYGUARD
|
||||
&& !mUnlockedScreenOffAnimationController.isScreenOffAnimationPlaying()
|
||||
&& (remoteInputController == null || !remoteInputController.isRemoteInputActive());
|
||||
|
||||
Reference in New Issue
Block a user