Merge "Fix an issue where the highlight for drag to split was incorrect" into tm-qpr-dev

This commit is contained in:
Mady Mellor
2022-11-07 17:14:56 +00:00
committed by Android (Google) Code Review

View File

@@ -311,7 +311,7 @@ public class DragLayout extends LinearLayout {
animateSplitContainers(true, null /* animCompleteCallback */);
animateHighlight(target);
}
} else {
} else if (mCurrentTarget.type != target.type) {
// Switching between targets
mDropZoneView1.animateSwitch();
mDropZoneView2.animateSwitch();