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

Commit 5ca3f8c3 authored by Michael Mikhail's avatar Michael Mikhail
Browse files

Getting rid of Dependency.get

Moving Dependency.get from HeadsUpManager class and its children
classes by passing the AccessibiltyManagerWrapper and UIEventLogger
object in the constructor.

Bug: 218354106
Test: manual
Change-Id: I5cd2435c0608968a2d880d742ebb1a307c48b02b
parent 0c867c02
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import android.util.ArrayMap;
import android.util.ArraySet;
import android.view.accessibility.AccessibilityEvent;

import com.android.internal.annotations.VisibleForTesting;
import com.android.systemui.dagger.qualifiers.Main;
import com.android.systemui.statusbar.notification.collection.NotificationEntry;
import com.android.systemui.statusbar.notification.row.NotificationRowContentBinder.InflationFlag;
@@ -49,7 +50,8 @@ public abstract class AlertingNotificationManager {

    protected int mMinimumDisplayTime;
    protected int mAutoDismissNotificationDecay;
    private final Handler mHandler;
    @VisibleForTesting
    public Handler mHandler;

    /**
     * Called when posting a new notification that should alert the user and appear on screen.