commit | cc1e19c3bcb33aed1bd1ec13ed9762d13e2b11f5 | [log] [tgz] |
---|---|---|
author | Alex Chau <alexchau@google.com> | Thu Oct 28 11:41:18 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Oct 28 11:41:18 2021 +0000 |
tree | 9a701d41ccdfada881baab49a1dcafb106d9fa27 | |
parent | ec75b26c9dbbb08d1b9487ac92545487b2522ce8 [diff] | |
parent | 9ce7848a8fbe35c798ee4c069e16ec4ba905194a [diff] |
Merge "Partially restoring reverted logging" into sc-v2-dev am: 0cc439ab18 am: 9ce7848a8f Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120438 Change-Id: Id7a862358eee66fc8d47ba5a469d731f443a883c
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()); + } } } }