mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Add an error if we fail to find the PID for a launched android package
This commit is contained in:
@@ -251,6 +251,10 @@ ExecuteResult StartAndroidPackageForCapture(const char *host, const char *packag
|
||||
|
||||
// adb shell ps | grep $PACKAGE | awk '{print $2}')
|
||||
pid = GetCurrentPID(deviceID, packageName);
|
||||
|
||||
if(pid == 0)
|
||||
RDCERR("Couldn't get PID when launching %s with activity %s", packageName.c_str(),
|
||||
activityName.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user