summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2023-09-25 08:37:09 +0000
committer Roy Chou <juchengchou@google.com> 2023-09-26 22:32:57 +0000
commit45beedbd230d6402c2a1ca58e0881d2a602ce73b (patch)
treeb8d7f03065869b451294e3ad460a06cb6abd8ec3 /libs/androidfw/FileStream.cpp
parent91886a168b4adce0cfce03ec811cfb2de57398e9 (diff)
fix(systemui): fix perfetto_ft_systemui-missed_app_frames-mean increased
The perfetto_ft_systemui-missed_app_frames-mean value increased after ag/24677444. Try debugging the issue then we find the major cause is the PhoneStatusBarViewController calls the PhoneStatusBarView#updateResources when onConfigChanged triggered. Besides, PhoneStatusBarView already has the method onConfigurationChanged to detect the configuration change then call updateResources. Therefore, as the quick workaround, in PhoneStatusBarViewController we remove the onConfigChanged method, and leave PhoneStatusBarView detecting onConfigurationChanged itself. Test on abtd and the perfetto_ft_systemui-missed_app_frames-mean seems to decrease to the previous good build value. Bug: 300629388 Test: abtd to check the perfetto_ft_systemui-missed_app_frames-mean Change-Id: Ib568165d73cc9b3fb8178b5b5854d09c4225adeb
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions