summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author nergi <nergi@google.com> 2025-01-10 16:50:49 +0900
committer nergi <nergi@google.com> 2025-01-14 13:24:30 +0900
commitecb139844d82a1bf4e0a7e73b6dff1cd9a493f5c (patch)
treea58fb47d5b275d7e471c8726bf988163a8066280 /opengl/java
parent3e2ffa78e863bdc5d8bb57b07d02b93af40ed5f9 (diff)
[DnD] Properly cleanup DragDropController in DragDropControllerTests
When deferClose flag was updated to false after the test, it doesn't fully clean up in some cases. The idea to set `deferClose=false` is to let `tearDown` clean this up if `mTarget.dragDropActiveLocked() == true`. However, the definition of active is not just the presence of dragState. If dragState is present, but it's closing, it's no longer "active", and hence `closeDragState` is not executed. Modify deferClose=false to immediately close dragState. Bug: 365512241 Test: atest WmTests:DragDropControllerTests Flag: com.android.window.flags.enable_connected_displays_dnd Change-Id: Idcbeda929e72a9759a2e3afc103e25a64894ebf5
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions