mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-28 22:39:50 +00:00
v2.9.5.13-3dfx
- Faster virtual machine boot time. - Force VNC refresh is on by default. - Added exporter that will show error message if no folder to save cvbi file can be created. - New virtual machine startup dialog interface. - Added Quick start toggle. - Fixed bug where System Monitor sometimes did not show correct status of Qemu and VNC Server. - Text color of dialog buttons will be brighter if in dark mode. - Improved ability to determine if a virtual machine is running. - Qemu will no longer be forced to kill explicitly so it can perform some actions before dying to avoid data corruption - Some changes to the interface in the drawer. - External VNC Server notification dialog will only appear when using VNC instead of X11.
This commit is contained in:
parent
74bf8b69f5
commit
fa7df64ceb
37 changed files with 508 additions and 666 deletions
|
|
@ -25,9 +25,8 @@ import java.util.Objects;
|
|||
|
||||
public class CqcmActivity extends AppCompatActivity {
|
||||
|
||||
private Intent gotoActivity = new Intent();
|
||||
private Intent openURL = new Intent();
|
||||
private Button buttonallow;
|
||||
private final Intent gotoActivity = new Intent();
|
||||
private final Intent openURL = new Intent();
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
|
|
@ -36,7 +35,8 @@ public class CqcmActivity extends AppCompatActivity {
|
|||
UIUtils.edgeToEdge(this);
|
||||
setContentView(R.layout.activity_cqcm);
|
||||
UIUtils.setOnApplyWindowInsetsListener(findViewById(R.id.main));
|
||||
buttonallow = findViewById(R.id.buttonallow);
|
||||
|
||||
Button buttonallow = findViewById(R.id.buttonallow);
|
||||
buttonallow.setOnClickListener(v -> {
|
||||
if (shouldShowRequestPermissionRationale(Manifest.permission.WRITE_EXTERNAL_STORAGE)) {
|
||||
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
|
||||
|
|
@ -64,7 +64,7 @@ public class CqcmActivity extends AppCompatActivity {
|
|||
|
||||
}
|
||||
private void startAdd() {
|
||||
HashMap<String, Object> mapForCreateNewVM = new HashMap<>();
|
||||
HashMap<String, Object> mapForCreateNewVM;
|
||||
String _map;
|
||||
String imgName = "";
|
||||
String imgIcon = "";
|
||||
|
|
@ -81,7 +81,7 @@ public class CqcmActivity extends AppCompatActivity {
|
|||
if (JSONUtils.isValidFromFile(AppConfig.romsdatajson)) {
|
||||
if (getIntent().hasExtra("content")) {
|
||||
if (Objects.requireNonNull(getIntent().getStringExtra("content")).endsWith("}]")) {
|
||||
_map = Objects.requireNonNull(getIntent().getStringExtra("content")).substring((int) 0, (int)(Objects.requireNonNull(getIntent().getStringExtra("content")).length() - 1));
|
||||
_map = Objects.requireNonNull(getIntent().getStringExtra("content")).substring(0, Objects.requireNonNull(getIntent().getStringExtra("content")).length() - 1);
|
||||
} else {
|
||||
_map = Objects.requireNonNull(getIntent().getStringExtra("content"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue