diff --git a/src/com/android/launcher3/DropTargetBar.java b/src/com/android/launcher3/DropTargetBar.java index eb42a652f9..9fb14f68cb 100644 --- a/src/com/android/launcher3/DropTargetBar.java +++ b/src/com/android/launcher3/DropTargetBar.java @@ -275,8 +275,12 @@ public class DropTargetBar extends FrameLayout @Override protected void onVisibilityChanged(@NonNull View changedView, int visibility) { super.onVisibilityChanged(changedView, visibility); - if (TestProtocol.sDebugTracing && visibility == VISIBLE) { - Log.d(TestProtocol.NO_DROP_TARGET, "9"); + if (TestProtocol.sDebugTracing) { + if (visibility == VISIBLE) { + Log.d(TestProtocol.NO_DROP_TARGET, "9"); + } else { + Log.d(TestProtocol.NO_DROP_TARGET, "Hiding drop target", new Exception()); + } } } }