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 Merged-In: Ib568165d73cc9b3fb8178b5b5854d09c4225adeb
Loading
Please register or sign in to comment