Merge "Show shade footer when hun is posted while shade is open" into sc-dev am: 0a1d974bad
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15175803 Change-Id: I300d9600171c09a457f82bc78bfc65f913e1f0a9
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