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

Commit 277d3cf2 authored by Steve Elliott's avatar Steve Elliott
Browse files

Remove ActivatableNotificationView#isActivated

...and associated listeners and setters and dead logic

Bug: 271161129
Test: atest SystemUITests
Change-Id: Ic759462341060f5058c1ef167d43dcd9aa0210fd
parent 923005c3
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -25,9 +25,6 @@ public interface FalsingCollector {
    /** */
    void onSuccessfulUnlock();

    /** */
    void onNotificationActive();

    /** */
    void setShowingAod(boolean showingAod);

+0 −4
Original line number Diff line number Diff line
@@ -24,10 +24,6 @@ public class FalsingCollectorFake implements FalsingCollector {
    public void onSuccessfulUnlock() {
    }

    @Override
    public void onNotificationActive() {
    }

    @Override
    public void setShowingAod(boolean showingAod) {
    }
+0 −4
Original line number Diff line number Diff line
@@ -173,10 +173,6 @@ class FalsingCollectorImpl implements FalsingCollector {
        sessionEnd();
    }

    @Override
    public void onNotificationActive() {
    }

    @Override
    public void setShowingAod(boolean showingAod) {
        mShowingAod = showingAod;
+0 −11
Original line number Diff line number Diff line
@@ -177,7 +177,6 @@ import com.android.systemui.statusbar.notification.NotificationWakeUpCoordinator
import com.android.systemui.statusbar.notification.PropertyAnimator;
import com.android.systemui.statusbar.notification.ViewGroupFadeHelper;
import com.android.systemui.statusbar.notification.collection.NotificationEntry;
import com.android.systemui.statusbar.notification.row.ActivatableNotificationView;
import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
import com.android.systemui.statusbar.notification.row.ExpandableView;
import com.android.systemui.statusbar.notification.row.NotificationGutsManager;
@@ -3303,16 +3302,6 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
        public boolean hasPulsingNotifications() {
            return mNotificationListContainer.hasPulsingNotifications();
        }

        @Override
        public ActivatableNotificationView getActivatedChild() {
            return mNotificationStackScrollLayoutController.getActivatedChild();
        }

        @Override
        public void setActivatedChild(ActivatableNotificationView o) {
            mNotificationStackScrollLayoutController.setActivatedChild(o);
        }
    }

    @Override
+0 −4
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ package com.android.systemui.shade
import android.view.MotionEvent
import android.view.ViewGroup
import com.android.systemui.statusbar.RemoteInputController
import com.android.systemui.statusbar.notification.row.ActivatableNotificationView
import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayoutController
import com.android.systemui.statusbar.phone.HeadsUpAppearanceController
@@ -254,7 +253,4 @@ interface ShadeNotificationPresenter {

    /** Returns whether the screen has temporarily woken up to display notifications. */
    fun hasPulsingNotifications(): Boolean

    /** The current activated notification. */
    var activatedChild: ActivatableNotificationView?
}
Loading