Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb67ce65 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Fix missing notification footer.

A refactor to the DeviceProvisionedController changed the behavior of the addCallback methhod so that the methods of the supplied callback were no longer called.  The NSSL Controller depended on this behavior, so we used the default initialization state of the variable, not provisioned.  This hid the footer until a provision change.

Change-Id: Ie440b33dc344eb75bc026465606269850984d0a9
Fixes: 203744291
Test: manual
parent 6665ad79
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -810,8 +810,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);