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

Commit 5773b934 authored by András Kurucz's avatar András Kurucz Committed by Android (Google) Code Review
Browse files

Merge "Remove unused NSSL#mActivityStarter" into main

parents f883ec24 fa559dcb
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)));