mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Refactor TestEmitter and it doesn't need to be MainThreadInitializedObject
Bug: 361850561 Test: Presubmit Flag: EXEMPT dagger Change-Id: I30e7c3c165db698785e9e4d7e2256ab061ff71a2
This commit is contained in:
@@ -80,8 +80,8 @@ import com.android.launcher3.celllayout.CellLayoutLayoutParams;
|
||||
import com.android.launcher3.celllayout.CellPosMapper;
|
||||
import com.android.launcher3.celllayout.CellPosMapper.CellPos;
|
||||
import com.android.launcher3.config.FeatureFlags;
|
||||
import com.android.launcher3.debug.TestEvent;
|
||||
import com.android.launcher3.debug.TestEventEmitter;
|
||||
import com.android.launcher3.debug.TestEventEmitter.TestEvent;
|
||||
import com.android.launcher3.dot.FolderDotInfo;
|
||||
import com.android.launcher3.dragndrop.DragController;
|
||||
import com.android.launcher3.dragndrop.DragLayer;
|
||||
@@ -2255,7 +2255,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
|
||||
if (d.stateAnnouncer != null && !droppedOnOriginalCell) {
|
||||
d.stateAnnouncer.completeAction(R.string.item_moved);
|
||||
}
|
||||
TestEventEmitter.INSTANCE.get(getContext()).sendEvent(TestEvent.WORKSPACE_ON_DROP);
|
||||
TestEventEmitter.sendEvent(TestEvent.WORKSPACE_ON_DROP);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user