Try to identify versions of adb that have whacky error prints

This commit is contained in:
baldurk
2018-04-04 17:56:33 +01:00
parent 0ecc8ed0e5
commit 97fcff0254
+5
View File
@@ -176,6 +176,11 @@ ExecuteResult StartAndroidPackageForCapture(const char *host, const char *packag
if(RDCLib.size() < installedPath.size() || RDCLib.substr(0, installedPath.size()) != installedPath)
RDCLib.clear();
// some versions of adb/android also don't print any error message at all! Look to see if the
// wildcard glob is still present.
if(RDCLib.find("/lib/*/" RENDERDOC_ANDROID_LIBRARY) != std::string::npos)
RDCLib.clear();
bool injectLibraries = true;
if(RDCLib.empty())