skip load refresh rate profile if null
Bug: 284787798 test: check the dumpsys display Change-Id: Ic56192d739a2e0b1ac8fb76ba09493a436db652f
This commit is contained in:
@@ -2056,7 +2056,7 @@ public class DisplayDeviceConfig {
|
||||
|
||||
/** Loads the refresh rate profiles. */
|
||||
private void loadRefreshRateZoneProfiles(RefreshRateConfigs refreshRateConfigs) {
|
||||
if (refreshRateConfigs == null) {
|
||||
if (refreshRateConfigs == null || refreshRateConfigs.getRefreshRateZoneProfiles() == null) {
|
||||
return;
|
||||
}
|
||||
for (RefreshRateZone zone :
|
||||
|
||||
Reference in New Issue
Block a user