Moving ReorderWidgetsTest to an integration test instead of E2E
Flag: TEST_ONLY Test: IntegrationReorderWidgetsTest Bug: 324261526 Fix: 343761044 Change-Id: I9bfe8b587e1024260ddeeb48157c3d204f2d58f2
This commit is contained in:
@@ -37,6 +37,8 @@ import com.android.launcher3.accessibility.DragViewStateAnnouncer;
|
||||
import com.android.launcher3.celllayout.CellLayoutLayoutParams;
|
||||
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.dragndrop.DragLayer;
|
||||
import com.android.launcher3.keyboard.ViewGroupFocusHelper;
|
||||
import com.android.launcher3.logging.InstanceId;
|
||||
@@ -221,6 +223,9 @@ public class AppWidgetResizeFrame extends AbstractFloatingView implements View.O
|
||||
dl.addView(frame);
|
||||
frame.mIsOpen = true;
|
||||
frame.post(() -> frame.snapToWidget(false));
|
||||
TestEventEmitter.INSTANCE.get(widget.getContext()).sendEvent(
|
||||
TestEvent.RESIZE_FRAME_SHOWING
|
||||
);
|
||||
}
|
||||
|
||||
private void setCornerRadiusFromWidget() {
|
||||
|
||||
Reference in New Issue
Block a user