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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user