mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-05-05 17:56:59 +00:00
initial commit
This commit is contained in:
parent
a88504fe3e
commit
250d795823
8 changed files with 79 additions and 8 deletions
|
|
@ -64,7 +64,7 @@ public class Config {
|
|||
public static boolean enableSMPOnlyOnKVM = false;
|
||||
|
||||
//set to true if you need to debug native library loading
|
||||
public static boolean loadNativeLibsEarly = false;
|
||||
public static boolean loadNativeLibsEarly = false;
|
||||
|
||||
//XXX: QEMU 3.1.0 needs the libraries to be loaded from the main thread
|
||||
public static boolean loadNativeLibsMainThread = true;
|
||||
|
|
@ -174,7 +174,7 @@ public class Config {
|
|||
|
||||
public static String machinename = "VECTRAS";
|
||||
public static int paused = 0;
|
||||
public static String ui = "VNC";
|
||||
public static String ui = "X11";
|
||||
public static boolean maxPriority = false;
|
||||
public static final String defaultVNCColorMode = COLORMODEL.C24bit.nameString();
|
||||
public static final ScaleType defaultFullscreenScaleMode = ScaleType.FIT_CENTER;
|
||||
|
|
|
|||
|
|
@ -601,7 +601,7 @@ public class MainSettingsManager extends AppCompatActivity
|
|||
|
||||
public static String getVmUi(Activity activity) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(activity);
|
||||
return prefs.getString("vmUi", "VNC");
|
||||
return prefs.getString("vmUi", Config.ui);
|
||||
}
|
||||
|
||||
public static void setResolution(Activity activity, String RESOLUTION) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue