mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Start/Shutdown Android server from RemoteManager dialog.
ANativeActivity_finish when renderdoccmd() returns.
This commit is contained in:
committed by
Baldur Karlsson
parent
53c0c20c8a
commit
70f55a1458
@@ -102,8 +102,17 @@ void RemoteHost::CheckStatus()
|
||||
|
||||
void RemoteHost::Launch()
|
||||
{
|
||||
int WAIT_TIME = 2000;
|
||||
|
||||
if(IsHostADB())
|
||||
{
|
||||
RENDERDOC_StartAndroidRemoteServer();
|
||||
QThread::msleep(WAIT_TIME);
|
||||
return;
|
||||
}
|
||||
|
||||
RDProcess process;
|
||||
process.start(RunCommand);
|
||||
process.waitForFinished(2000);
|
||||
process.waitForFinished(WAIT_TIME);
|
||||
process.detach();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user