mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-28 22:39:50 +00:00
Kuchen
This commit is contained in:
parent
e8559457e4
commit
aa9e285f2b
13 changed files with 109 additions and 35 deletions
|
|
@ -104,7 +104,7 @@ public class CqcmActivity extends AppCompatActivity {
|
|||
if (mapForCreateNewVM.containsKey("imgExtra")) {
|
||||
imgExtra = Objects.requireNonNull(mapForCreateNewVM.get("imgExtra")).toString();
|
||||
}
|
||||
VMManager.createNewVM(imgName, imgIcon, imgPath, imgArch, imgCdrom, imgExtra, vmID);
|
||||
VMManager.createNewVM(imgName, imgIcon, imgPath, imgArch, imgCdrom, imgExtra, vmID, VMManager.startRandomPort());
|
||||
} else {
|
||||
Toast.makeText(getApplicationContext(), "The data for the new virtual machine is corrupted and cannot be created.", Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue