mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-05-05 17:56:59 +00:00
Chick
This commit is contained in:
parent
4473dec0f0
commit
54e34dbc20
15 changed files with 257 additions and 116 deletions
|
|
@ -256,11 +256,11 @@ public class MainSettingsManager extends AppCompatActivity
|
|||
|
||||
mHandler = new Handler();
|
||||
|
||||
Preference prefIfType = findPreference("ifType");
|
||||
if (getArch(activity).equals("ARM64"))
|
||||
if (prefIfType != null) {
|
||||
prefIfType.setVisible(false);
|
||||
}
|
||||
//Preference prefIfType = findPreference("ifType");
|
||||
//if (getArch(activity).equals("ARM64"))
|
||||
//if (prefIfType != null) {
|
||||
//prefIfType.setVisible(false);
|
||||
//}
|
||||
|
||||
Preference pref = findPreference("vmArch");
|
||||
if (pref != null) {
|
||||
|
|
@ -577,7 +577,7 @@ public class MainSettingsManager extends AppCompatActivity
|
|||
|
||||
public static String getIfType(Activity activity) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(activity);
|
||||
return prefs.getString("ifType", "ide");
|
||||
return prefs.getString("ifType", "");
|
||||
}
|
||||
|
||||
public static void setBoot(Activity activity, String boot) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue