summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Jason Chang <jasonsfchang@google.com> 2022-05-20 17:55:21 +0800
committer Jason Chang <jasonsfchang@google.com> 2022-06-01 17:10:20 +0800
commitdbb7725436562079dd1f44d58805a45119f3ee37 (patch)
tree42293f9cb4e3ba14b9e84543dca1a04beb7a4019 /libs/androidfw/Util.cpp
parent9dd35d01f854341f699268c3bf02ac1511dee371 (diff)
Fix toggle QS tiles don't respond when One-handed mode triggered
Previous ag/17896369 missed the OHM edge case, when OHM activated, the ev.getX(), ev.getY() has been count in OHM offset, using ev.getRawX() & ev.getRawY() would mis-leading the QQS tile location while OHM translate down DisplayArea. 1. Set x and y offset for mQsHeaderBound when OHM activated 2. Fix broken NotificationStackScrollLayoutTest Bug: 233033336 Bug: 232901446 Test: manually check notificaiton panel when entering One-handed mode Test: manually test the QS/QQS functionality works in landscape Test: atest SystemUITests Test: atest NotificationStackScrollLayoutTest Change-Id: I8be7ba86fee52f19bac2733661c8616528a705be
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions