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

Commit fa559dcb authored by András Kurucz's avatar András Kurucz
Browse files

Remove unused NSSL#mActivityStarter

The ActivityStarter was used in the NSSL to wire in clicks on the
EmptyShadeView. This has moved to a view binder now.

Bug: 308596826
Test: atest NotificationStackScrollLayoutTest
Flag: EXEMPT refactor

Change-Id: I201b780ebf6a5b2e4fd812aeb567d6cbe48ac28b
parent 79071c28
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -93,7 +93,6 @@ import com.android.systemui.Dumpable;
import com.android.systemui.ExpandHelper;
import com.android.systemui.flags.FeatureFlags;
import com.android.systemui.flags.Flags;
import com.android.systemui.plugins.ActivityStarter;
import com.android.systemui.qs.flags.QSComposeFragment;
import com.android.systemui.res.R;
import com.android.systemui.scene.shared.flag.SceneContainerFlag;
@@ -348,7 +347,6 @@ public class NotificationStackScrollLayout
    };
    private NotificationStackScrollLogger mLogger;
    private Runnable mResetUserExpandedStatesRunnable;
    private ActivityStarter mActivityStarter;
    private final int[] mTempInt2 = new int[2];
    private final float[] mTempFloat2 = new float[2];
    private final HashSet<Runnable> mAnimationFinishedRunnables = new HashSet<>();
@@ -5126,10 +5124,6 @@ public class NotificationStackScrollLayout
        this.mResetUserExpandedStatesRunnable = runnable;
    }

    public void setActivityStarter(ActivityStarter activityStarter) {
        mActivityStarter = activityStarter;
    }

    void requestAnimateEverything() {
        if (mIsExpanded && mAnimationsEnabled) {
            mEverythingNeedsAnimation = true;
+0 −1
Original line number Diff line number Diff line
@@ -896,7 +896,6 @@ public class NotificationStackScrollLayoutController implements Dumpable {
        mTouchHandler = new TouchHandler();
        mView.setTouchHandler(mTouchHandler);
        mView.setResetUserExpandedStatesRunnable(mNotificationsController::resetUserExpandedStates);
        mView.setActivityStarter(mActivityStarter);
        mView.setClearAllAnimationListener(this::onAnimationEnd);
        mView.setClearAllListener((selection) -> mUiEventLogger.log(
                NotificationPanelEvent.fromSelection(selection)));