commit | 210d5080eb9ceb2ac3ac5b093dfcdf5279554d8c | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Tue Jan 07 04:43:10 2025 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jan 10 10:37:04 2025 -0800 |
tree | d2ecf30e41322c39dd8fd9c481b821cd8e1eca07 | |
parent | efc0f876317d6a902604acff8e06b07ce14a8c6d [diff] |
Only initialize the drag session after we confirm we can handle the drag - In ag/28686955 we moved the initialization of the drag session earlier in the flow to optimize the call to update the running task, but we should only need to initialize if there is valid drag data. Flag: EXEMPT bugfix Fixes: 383034393 Test: atest WMShellUnitTests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1b3ccc22ec6f1c3df5dfe6d964853ca4d1d1f49a) Merged-In: I8005cee8b7c0d4e58a173ea5de3b53e343f4523d Change-Id: I8005cee8b7c0d4e58a173ea5de3b53e343f4523d