Merge "Fix missing notification footer." into sc-v2-dev am: 2dc6f38b9a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16143298

Change-Id: Iafc8852a730bafc2f8f315a6a7e0916dd1ae18ab
This commit is contained in:
TreeHugger Robot
2021-10-30 03:19:25 +00:00
committed by Automerger Merge Worker

View File

@@ -806,8 +806,9 @@ public class NotificationStackScrollLayoutController {
return Unit.INSTANCE;
});
// callback is invoked synchronously, updating mView immediately
// attach callback, and then call it to update mView immediately
mDeviceProvisionedController.addCallback(mDeviceProvisionedListener);
mDeviceProvisionedListener.onDeviceProvisionedChanged();
if (mView.isAttachedToWindow()) {
mOnAttachStateChangeListener.onViewAttachedToWindow(mView);