Merging //UE4/Release-4.17 @ CL 3528061 to Release-Staging-4.17 (//UE4/Release-Staging-4.17)

#rb none
#jira UE-123

[CL 3535468 by Ben Marsh in Staging-4.17 branch]
This commit is contained in:
Ben Marsh
2017-07-13 10:13:07 -04:00
485 changed files with 11010 additions and 5472 deletions

View File

@@ -397,13 +397,19 @@ public:
return &DeviceMapLock;
}
virtual FString GetADBPath() override
{
FScopeLock PathUpdateLock(&ADBPathCheckLock);
return ADBPath;
}
virtual void UpdateADBPath() override
{
FScopeLock PathUpdateLock(&ADBPathCheckLock);
TCHAR AndroidDirectory[32768] = { 0 };
FPlatformMisc::GetEnvironmentVariable(TEXT("ANDROID_HOME"), AndroidDirectory, 32768);
FString ADBPath;
ADBPath.Empty();
#if PLATFORM_MAC || PLATFORM_LINUX
if (AndroidDirectory[0] == 0)
@@ -462,6 +468,8 @@ public:
private:
// path to the adb command (local)
FString ADBPath;
FRunnableThread* DetectionThread;
FAndroidDeviceDetectionRunnable* DetectionThreadRunnable;