Fix a mistake check on string::find not comparing against string::npos

* Reported by Coverity Scan
This commit is contained in:
baldurk
2017-11-22 12:58:08 +00:00
parent 2514ad4126
commit 3e95356d9b
+1 -1
View File
@@ -459,7 +459,7 @@ bool CheckDebuggable(const string &apk)
string badging = execCommand("aapt", "dump badging " + apk).strStdout;
if(badging.find("application-debuggable"))
if(badging.find("application-debuggable") == string::npos)
{
RDCERR("APK is not debuggable");
return false;