Revert "Remove old logs associated to b/200572078"

This reverts commit c4240fd429.

Reason for revert: Returning logs for flaking test

Bug: 227650070
Change-Id: I7db31533cfb72d9e329f38dc001f3a8e52b9fb7f
This commit is contained in:
Schneider Victor-tulias committed 2022-04-25 22:23:20 +00:00
1 parent c4240fd429
commit a9b2c4bb5a
5 files changed
+33

No files matched your search

@@ -31,6 +31,7 @@ import com.android.launcher3.icons.BitmapInfo;
import com.android.launcher3.icons.LauncherIcons;
import com.android.launcher3.model.data.ItemInfo;
import com.android.launcher3.model.data.WorkspaceItemInfo;
import com.android.launcher3.testing.TestProtocol;
import com.android.launcher3.util.IntArray;
import com.android.launcher3.util.IntSet;
@@ -66,6 +67,10 @@ public class ModelUtils {
(lhs, rhs) -> Integer.compare(lhs.container, rhs.container));
for (T info : allWorkspaceItems) {
if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) {
if (TestProtocol.sDebugTracing) {
Log.d(TestProtocol.NULL_INT_SET, "filterCurrentWorkspaceItems: "
+ currentScreenIds);
}
if (currentScreenIds.contains(info.screenId)) {
currentScreenItems.add(info);
itemsOnScreen.add(info.id);