summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author András Kurucz <kurucz@google.com> 2023-11-29 23:02:22 +0000
committer András Kurucz <kurucz@google.com> 2023-12-05 09:17:53 +0000
commit50feda74083c3a63551e3f91bcef65f1dab0cdb9 (patch)
tree7d68100dc9f915ceb80da34c75e2ca7b9f1ec0ca /libs/androidfw/FileStream.cpp
parentae234fc41941402789dd023f82722f8510a9b254 (diff)
Move binder calls in NotificationSettingsController to a bg thread
While looking at the traces of a Jank regression we've noticed that registering the contentObsver for Settings is a binder call, which takes ~5ms sometimes. Since this is happening in a hot path, part of the ShadeListBuilder.buildList, we should move it to a bg thread. Fixes: 314287084 Test: atest SystemUITests:com.android.systemui.statusbar.notification.row.NotificationSettingsControllerTest Test: observe a perfetto trace of posting, and cancelling Notifications Flag: NONE Change-Id: Ib2581e15927ce28352e334af3989da499d25e28d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions