Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0aff1151 authored by Jon Miranda's avatar Jon Miranda
Browse files

Add log to help debug crash during bindItems.

Bug: 198115560
Test: can't repo, need to catch in wild
Change-Id: I9d457fce4903c5df33833a5e4817f8a32ed260e2
parent 3b38293e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2366,6 +2366,9 @@ public class Launcher extends StatefulActivity<LauncherState> implements Launche
                CellLayout cl = mWorkspace.getScreenWithId(item.screenId);
                if (cl != null && cl.isOccupied(item.cellX, item.cellY)) {
                    View v = cl.getChildAt(item.cellX, item.cellY);
                    if (v == null) {
                        Log.e(TAG, "bindItems failed when removing colliding item=" + item);
                    }
                    Object tag = v.getTag();
                    String desc = "Collision while binding workspace item: " + item
                            + ". Collides with " + tag;