(OK) VirtualBox 中的 lineageOS,点击 Developer options,GUI 重启

来源:互联网 发布:看店宝软件 编辑:程序博客网 时间:2024/05/24 04:03


vim packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java

注释如下代码

/*        PreferenceScreen convertFbePreference =            (PreferenceScreen) findPreference(KEY_CONVERT_FBE);        try {            IBinder service = ServiceManager.getService("mount");            IMountService mountService = IMountService.Stub.asInterface(service);            if (!mountService.isConvertibleToFBE()) {                removePreference(KEY_CONVERT_FBE);            } else if ("file".equals(SystemProperties.get("ro.crypto.type", "none"))) {                convertFbePreference.setEnabled(false);                convertFbePreference.setSummary(getResources()                                   .getString(R.string.convert_to_file_encryption_done));            }        } catch(RemoteException e) {            removePreference(KEY_CONVERT_FBE);        }*/


0 0
原创粉丝点击