mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Add an abstracted interface around android-specific handling
* This makes it easier to use the same kind of interface to manage other kinds of devices.
This commit is contained in:
@@ -307,9 +307,9 @@ void ReplayManager::CloseThread()
|
||||
|
||||
ReplayStatus ReplayManager::ConnectToRemoteServer(RemoteHost host)
|
||||
{
|
||||
ReplayStatus status = RENDERDOC_CreateRemoteServerConnection(host.Hostname().c_str(), 0, &m_Remote);
|
||||
ReplayStatus status = RENDERDOC_CreateRemoteServerConnection(host.Hostname().c_str(), &m_Remote);
|
||||
|
||||
if(host.IsADB())
|
||||
if(host.Protocol() && host.Protocol()->GetProtocolName() == "adb")
|
||||
{
|
||||
ANALYTIC_SET(UIFeatures.AndroidRemoteReplay, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user