mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Printing the workspace items to improve flake investigation.
Recording the screen to investigates flakes on ReorderWidgets is really useful but it requires changing the code for that and storing the video and most of the time the useful information is just the end state so by logging the end state makes resolving flakes easier Fix: 261877803 Test: atest ReorderWidgets Change-Id: If5d9745ebb57826a55b5df9d3599eed56c48298f
This commit is contained in:
@@ -62,6 +62,7 @@ import android.widget.FrameLayout;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.launcher3.accessibility.AccessibleDragListenerAdapter;
|
||||
import com.android.launcher3.accessibility.WorkspaceAccessibilityHelper;
|
||||
@@ -161,7 +162,9 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
|
||||
|
||||
protected ShortcutAndWidgetContainer mDragSourceInternal;
|
||||
|
||||
@Thunk final IntSparseArrayMap<CellLayout> mWorkspaceScreens = new IntSparseArrayMap<>();
|
||||
@VisibleForTesting(otherwise = VisibleForTesting.PRIVATE)
|
||||
@Thunk public final IntSparseArrayMap<CellLayout> mWorkspaceScreens = new IntSparseArrayMap<>();
|
||||
|
||||
@Thunk final IntArray mScreenOrder = new IntArray();
|
||||
|
||||
@Thunk boolean mDeferRemoveExtraEmptyScreen = false;
|
||||
|
||||
Reference in New Issue
Block a user