Merge "[DO NOT MERGE] Check property name before apply high refresh rate black list" into qt-r1-dev

This commit is contained in:
Long Ling
2019-08-30 23:32:14 +00:00
committed by Android (Google) Code Review

View File

@@ -110,8 +110,10 @@ class HighRefreshRateBlacklist {
private class OnPropertyChangedListener implements DeviceConfig.OnPropertyChangedListener { private class OnPropertyChangedListener implements DeviceConfig.OnPropertyChangedListener {
public void onPropertyChanged(@NonNull String namespace, @NonNull String name, public void onPropertyChanged(@NonNull String namespace, @NonNull String name,
@Nullable String value) { @Nullable String value) {
if (KEY_HIGH_REFRESH_RATE_BLACKLIST.equals(name)) {
updateBlacklist(value); updateBlacklist(value);
} }
} }
}
} }