diff options
author | Lyn Han <lynhan@google.com> | 2020-11-23 22:19:17 -0600 |
---|---|---|
committer | Lyn Han <lynhan@google.com> | 2020-11-23 22:42:54 -0600 |
commit | 62d72f2e75b733675e9c68b9e734c53522740706 (patch) | |
tree | ff46cc4fd471ea4b7c346d06bfcfa5a6d514b7a3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 44e16cd59f2e5128e14df1f7c82475b236e63a39 (diff) |
Fix race condition that skips corner updates on half swipe
Set mIsSwiping true before calling SwipeHelper#Callback#onBeginDrag;
otherwise onBeginDrag may use an outdated false and mistakenly include
the swiped view as part of a rounded section.
Fixes: 173753021
Bug: 171817112
Test: half swipe first and last notifs in section; corners always update
Change-Id: I115d30b10657b6edbf94d4d444058bdeeaf9000e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions