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

Bug: 140233077
Change-Id: Ib2afc54c43ae5a9f3af8a0a0e65bc2c930428152
This commit is contained in:
Long Ling
2019-08-13 16:07:14 -07:00
parent 73936631d5
commit 0113bc0c95

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);
}
}
}
}