[DO NOT MERGE] Check property name before apply high refresh rate black list

am: 0113bc0c95

Change-Id: I092bf152e56d1051cac76da81a7bef2ec04f63a6
This commit is contained in:
Long Ling
2019-09-03 14:47:51 -07:00
committed by android-build-merger

View File

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