diff options
author | Beverly <beverlyt@google.com> | 2020-05-18 17:01:53 -0400 |
---|---|---|
committer | Beverly <beverlyt@google.com> | 2020-05-18 19:16:24 -0400 |
commit | 94a2d6b58bf3164b59149a0ec4a9ca8f5f856f81 (patch) | |
tree | fe4e0d28349b01055e86a90edde951a0e61fef31 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | c61e30bcf458f63e2da0a88563f91c2f00e58cfc (diff) |
Check unmagnified coordinates to close notif guts
To determine whether touches are inside a notification view, use the
unmagnified coordinates since we aren't scaling the view's size.
Test: manual
1. enable magnification a11y service
2. look at notification shade with notifications
3. magnify a notification
4. longpress on notification to see its interruptive settings
5. change the interruptive setting (observe the guts don't close
instantly upon changing the option, so user is able to still apply new
interruptive settings)
Test: atest NotificationSwipeHelperTest
Fixes: 146316350
Change-Id: I5ce20763f18412f33310ca5cc547debbe94dbe97
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions