Revamp android patching to only check for (& change) the debuggable flag

* We don't consider anything else, this includes permissions or the
  library being present. Since we no longer expect to patch in the
  library we also don't check its version (however we leave the tag in
  case it is useful in the future).
* If the user has root access we will never warn, assuming the injection
  will work fine even without the debuggable flag.
This commit is contained in:
baldurk committed 2018-01-26 21:19:14 +00:00
1 parent a019797f88
commit cb34a2daea
11 files changed
+133 -676

No files matched your search

-3
View File
@@ -48,7 +48,4 @@ std::string getToolPath(ToolDir subdir, const std::string &toolname, bool checkE
bool toolExists(const std::string &path);
std::string GetFriendlyName(std::string deviceID);
bool CheckRootAccess(const std::string &deviceID);
bool SearchForAndroidLibrary(const std::string &deviceID, const std::string &location,
const std::string &layerName, std::string &foundLayer);
};