Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24f573d0 authored by Roy Chou's avatar Roy Chou
Browse files

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
parent b650f99c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment