mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +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
@@ -172,7 +172,7 @@ void PersistantConfig::AddAndroidHosts()
|
||||
{
|
||||
for(int i = RemoteHosts.count() - 1; i >= 0; i--)
|
||||
{
|
||||
if(RemoteHosts[i]->Hostname.startsWith(lit("adb:")))
|
||||
if(RemoteHosts[i]->IsHostADB())
|
||||
delete RemoteHosts.takeAt(i);
|
||||
}
|
||||
|
||||
@@ -193,6 +193,8 @@ void PersistantConfig::AddAndroidHosts()
|
||||
{
|
||||
RemoteHost *host = new RemoteHost();
|
||||
host->Hostname = lit("adb:") + hostName;
|
||||
// Just a command to display in the GUI and allow Launch() to be called.
|
||||
host->RunCommand = lit("org.renderdoc.renderdoccmd");
|
||||
RemoteHosts.push_back(host);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user