commit | dce89325d5d278ed33a4796519b238d3f1caf4a1 | [log] [tgz] |
---|---|---|
author | Alex Chau <alexchau@google.com> | Thu Oct 28 11:24:43 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Oct 28 11:24:43 2021 +0000 |
tree | f9eb6cfa06f9d67a2583e5ed9da41f629856b90e | |
parent | 7e199038fd2b8c32dd4026645745a6976f1d5e5a [diff] | |
parent | 0cc439ab18468be7755709141c82f9a46893456d [diff] |
Merge "Partially restoring reverted logging" into sc-v2-dev am: 0cc439ab18 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120438 Change-Id: Ic14aceea1cfeddf13930fb262f6b8ce62a53c8ec
diff --git a/src/com/android/launcher3/DropTargetBar.java b/src/com/android/launcher3/DropTargetBar.java index eb42a65..9fb14f6 100644 --- a/src/com/android/launcher3/DropTargetBar.java +++ b/src/com/android/launcher3/DropTargetBar.java
@@ -275,8 +275,12 @@ @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()); + } } } }