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

Commit 13c0ceb9 authored by András Kurucz's avatar András Kurucz
Browse files

Give NSSL.mListener a more descriptive name

Bug: 325936094
Test: EXEMPT | just a simple rename
Flag: com.android.systemui.notifications_heads_up_refactor
Change-Id: Idbd95770efc8dad0621cd23eb64f2963fda2fb28
parent 1ec5df60
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -258,7 +258,7 @@ public class NotificationStackScrollLayout
    private float mOverScrolledBottomPixels;
    private final ListenerSet<Runnable> mStackHeightChangedListeners = new ListenerSet<>();
    private final ListenerSet<Runnable> mHeadsUpHeightChangedListeners = new ListenerSet<>();
    private NotificationLogger.OnChildLocationsChangedListener mListener;
    private NotificationLogger.OnChildLocationsChangedListener mLegacyLocationsChangedListener;
    private OnNotificationLocationsChangedListener mLocationsChangedListener;
    private OnOverscrollTopChangedListener mOverscrollTopChangedListener;
    private ExpandableView.OnHeightChangedListener mOnHeightChangedListener;
@@ -1281,7 +1281,7 @@ public class NotificationStackScrollLayout
    public void setChildLocationsChangedListener(
            NotificationLogger.OnChildLocationsChangedListener listener) {
        NotificationsLiveDataStoreRefactor.assertInLegacyMode();
        mListener = listener;
        mLegacyLocationsChangedListener = listener;
    }

    private void setMaxLayoutHeight(int maxLayoutHeight) {
@@ -4433,8 +4433,8 @@ public class NotificationStackScrollLayout
                mLocationsChangedListener.onChildLocationsChanged(collectVisibleLocationsCallable);
            }
        } else {
            if (mListener != null) {
                mListener.onChildLocationsChanged();
            if (mLegacyLocationsChangedListener != null) {
                mLegacyLocationsChangedListener.onChildLocationsChanged();
            }
        }