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:
@@ -275,20 +275,8 @@ public class DropTargetBar extends FrameLayout
|
||||
@Override
|
||||
protected void onVisibilityChanged(@NonNull View changedView, int visibility) {
|
||||
super.onVisibilityChanged(changedView, visibility);
|
||||
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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onVisibilityAggregated(boolean isVisible) {
|
||||
super.onVisibilityAggregated(isVisible);
|
||||
if (TestProtocol.sDebugTracing) {
|
||||
Log.d(TestProtocol.NO_DROP_TARGET, "onVisibilityAggregated: " + isVisible);
|
||||
if (TestProtocol.sDebugTracing && visibility == VISIBLE) {
|
||||
Log.d(TestProtocol.NO_DROP_TARGET, "9");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user