mirror of
https://github.com/budtmo/docker-android.git
synced 2026-02-01 14:53:54 +00:00
Merge pull request #403 from enrey/restart_fix
Fixed docker container stop/start blank background error
This commit is contained in:
commit
fbd31b9076
@ -134,6 +134,10 @@ class Emulator(Device):
|
||||
self.logger.info(f"{self.device_type} is created!")
|
||||
|
||||
def change_permission(self) -> None:
|
||||
not_first_run = self.is_initialized()
|
||||
if not_first_run:
|
||||
return
|
||||
|
||||
kvm_path = "/dev/kvm"
|
||||
if os.path.exists(kvm_path):
|
||||
cmds = (f"sudo chown 1300:1301 {kvm_path}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user