[DO NOT MERGE] Check property name before apply high refresh rate black list
Bug: 140233077 Change-Id: Ib2afc54c43ae5a9f3af8a0a0e65bc2c930428152
This commit is contained in:
@@ -110,7 +110,9 @@ 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) {
|
||||||
updateBlacklist(value);
|
if (KEY_HIGH_REFRESH_RATE_BLACKLIST.equals(name)) {
|
||||||
|
updateBlacklist(value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user