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: Ie4d9490ff68cdc4427f31696b188ba139bf57542
This commit is contained in:
Alex Chau authored and Automerger Merge Worker committed 2021-10-28 11:24:03 +00:00
commit 9ce7848a8f
1 file changed
+6 -2
+6 -2
View File
@@ -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());
}
}
}
}