summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorBill Lin <lbill@google.com>2021-07-02 22:13:19 +0800
committerBill Lin <lbill@google.com>2021-07-08 14:14:25 +0800
commit3aafe19994584c293db4a764f2bda6594d2d9d89 (patch)
tree1099e02a0596b40e3ab0af28b2c913bf50623642 /libs/hwui/renderthread/DrawFrameTask.cpp
parent4c09aa412b65d14efb2b02e3f13af18f8b5b4150 (diff)
Improve SystemUIBootTiming performance in OneHandedController
Fix race condition in SystemUIBootTiming issue. 1. Avoid updateOneHandedEnabled() called twice during init a. [O] come from setOneHandedEnabled() b. [X] come from setSwipeToNotificationEnabled() 2. Passively waiting shortcut enabled changed callback, and then query setting ACCESSIBILITY_BUTTON_TARGETS status. 3. Add a new flag isShortcutEnabled to cache shortcut enabled state. 4. By new OHM Settings UX design setSwipeToNotificationEnabled() should NOT setEnabledGesturalOverlay(). 5. Remove redundant auto enabled Toast and print in log instead. (In general case, user is not able to see the Toast) Test: atest google/perf/boottime/boottime-test Test: atest SystemUITests Test: atest WMShellTests Test: manual factory reboot, OHM should disabled by default Bug: 192612924 Change-Id: I8b24c99bc8bd5bfb17c73a6bb8494109d9a8170d
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions