Fix trace counter for display refresh rate
Fix display_set_preferred_refresh_rate trace counter. Previously, the trace counter did not always reflect the actual value it was set to. Test: perfetto trace, transition to aod, look for display trace counter Bug: 280460655 Change-Id: Iff055ff73ebc28cc980d1dbb51b8c1d266a48cba
This commit is contained in:
@@ -333,7 +333,7 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW
|
||||
mLpChanged.preferredMinDisplayRefreshRate = 0;
|
||||
}
|
||||
Trace.setCounter("display_set_preferred_refresh_rate",
|
||||
(long) mKeyguardPreferredRefreshRate);
|
||||
(long) mLpChanged.preferredMaxDisplayRefreshRate);
|
||||
} else if (mKeyguardMaxRefreshRate > 0) {
|
||||
boolean bypassOnKeyguard = mKeyguardBypassController.getBypassEnabled()
|
||||
&& state.statusBarState == StatusBarState.KEYGUARD
|
||||
|
||||
Reference in New Issue
Block a user