--- a/packages/apps/Settings/src/com/android/settings/development/ShowRefreshRatePreferenceController.java
+++ b/packages/apps/Settings/src/com/android/settings/development/ShowRefreshRatePreferenceController.java
@@ -60,6 +60,11 @@ public class ShowRefreshRatePreferenceController extends DeveloperOptionsPrefere
return SHOW_REFRESH_RATE_KEY;
}
+ @Override
+ public boolean isAvailable() {
+ return false; //yim add
+ }
+
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final boolean isEnabled = (Boolean) newValue;
Android 11 去掉开发者模式 显示刷新率选项
最新推荐文章于 2023-05-04 00:45:00 发布