mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
More logging for drop bar not appearing for dragged widget
Test: presubmit Bug: 195031154 Change-Id: I28673866e2c893584402081b0f61acfa2a9c88c1
This commit is contained in:
@@ -275,8 +275,20 @@ 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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@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