mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-28 22:39:50 +00:00
v2.9.5.7-3dfx
- Fixed VNC Server could fail to connect from another device. - Added no more update prompts for an updated version. - Fixed missing package check could give wrong results for 32bit only devices. - Fixed VM not being created when ignoring warnings. - Termux:X11 startup command now only runs for Android 13 and below. - Added check if cache folder was created successfully when running VM. - Added VNC Server running notification dialog after successful VM launch. - New Home interface. - Rom store has been integrated in Home. - New System monitor. - Updated update notification dialog interface. - New update checker. - Reduced time on startup screen. - Fixed issue with virtual machine list data fixer.
This commit is contained in:
parent
d351766486
commit
149e3c29ea
81 changed files with 4108 additions and 1093 deletions
|
|
@ -6,7 +6,6 @@ import android.net.Uri;
|
|||
import android.os.Bundle;
|
||||
import android.provider.Settings;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.Toast;
|
||||
|
||||
|
|
@ -15,12 +14,12 @@ import androidx.core.app.ActivityCompat;
|
|||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.vectras.vm.home.HomeActivity;
|
||||
import com.vectras.vm.utils.FileUtils;
|
||||
import com.vectras.vm.utils.JSONUtils;
|
||||
import com.vectras.vm.utils.PermissionUtils;
|
||||
import com.vectras.vm.utils.UIUtils;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
import java.util.Objects;
|
||||
|
||||
|
|
@ -86,7 +85,7 @@ public class CqcmActivity extends AppCompatActivity {
|
|||
} else {
|
||||
_map = Objects.requireNonNull(getIntent().getStringExtra("content"));
|
||||
}
|
||||
if (JSONUtils.isMapValidFromString(_map)) {
|
||||
if (JSONUtils.isValidFromString(_map)) {
|
||||
mapForCreateNewVM = new Gson().fromJson(_map, new TypeToken<HashMap<String, Object>>(){}.getType());
|
||||
if (mapForCreateNewVM.containsKey("imgName")) {
|
||||
imgName = Objects.requireNonNull(mapForCreateNewVM.get("imgName")).toString();
|
||||
|
|
@ -116,7 +115,7 @@ public class CqcmActivity extends AppCompatActivity {
|
|||
} else {
|
||||
Toast.makeText(getApplicationContext(), "The virtual machine list data is corrupted and new virtual machines cannot be added right now.", Toast.LENGTH_LONG).show();
|
||||
}
|
||||
if(!MainActivity.isActivate) {
|
||||
if(!HomeActivity.isActivate) {
|
||||
Log.i("CqcmActivity", "Vectras VM is not opening.");
|
||||
gotoActivity.setClass(getApplicationContext(), SplashActivity.class);
|
||||
startActivity(gotoActivity);
|
||||
|
|
@ -134,7 +133,7 @@ public class CqcmActivity extends AppCompatActivity {
|
|||
private void runCommand(String _command) {
|
||||
AppConfig.pendingCommand = _command;
|
||||
|
||||
if(!MainActivity.isActivate) {
|
||||
if(!HomeActivity.isActivate) {
|
||||
Log.i("CqcmActivity", "Vectras VM is not opening.");
|
||||
gotoActivity.setClass(getApplicationContext(), SplashActivity.class);
|
||||
startActivity(gotoActivity);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue