You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user