summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Marcello Galhardo <mgalhardo@google.com> 2023-09-15 10:43:50 +0000
committer Marcello Galhardo <mgalhardo@google.com> 2023-09-18 16:09:41 +0000
commitdd24f51595b6b23ed9b44df2222fc29c47f0e04b (patch)
treead41acf543b8cfe5045a2e62e3b5ea307fa98e0e /api/api.go
parente126d5e2f9d1dba15708cbbb440ac951bdca25d3 (diff)
Fix ANR due to `updateShortcuts` called in the main thread
* `updateShortcuts` is an IPC call; * In a rare case, the SystemUI did not have much resources which made the IPC call take time to complete - that caused an ANR; * To avoid such situation, where offloading the IPC call to out the main thread; Test: atest NoteTaskControllerTest Flag: not needed Fixes: b/298003843 Change-Id: Ifff2e2fed94d4c05c0733c9215fa4e96fab090c9
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions