Merge "Revert "More logging for drop bar not appearing for dragged widget"" into sc-v2-dev am: fa8860a1b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16033841 Change-Id: I403a85f283f47a186fb8ec875f106f79443b187d
This commit is contained in:
commit
730cbff58c
1 file changed
+2
-14
@@ -275,20 +275,8 @@ public class DropTargetBar extends FrameLayout
|
|||||||
@Override
|
@Override
|
||||||
protected void onVisibilityChanged(@NonNull View changedView, int visibility) {
|
protected void onVisibilityChanged(@NonNull View changedView, int visibility) {
|
||||||
super.onVisibilityChanged(changedView, visibility);
|
super.onVisibilityChanged(changedView, visibility);
|
||||||
if (TestProtocol.sDebugTracing) {
|
if (TestProtocol.sDebugTracing && visibility == VISIBLE) {
|
||||||
if (visibility == VISIBLE) {
|
Log.d(TestProtocol.NO_DROP_TARGET, "9");
|
||||||
Log.d(TestProtocol.NO_DROP_TARGET, "9");
|
|
||||||
} else {
|
|
||||||
Log.d(TestProtocol.NO_DROP_TARGET, "Hiding drop target", new Exception());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onVisibilityAggregated(boolean isVisible) {
|
|
||||||
super.onVisibilityAggregated(isVisible);
|
|
||||||
if (TestProtocol.sDebugTracing) {
|
|
||||||
Log.d(TestProtocol.NO_DROP_TARGET, "onVisibilityAggregated: " + isVisible);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user