Remove error that will commonly falsely fire & replace with explicit log

This commit is contained in:
baldurk
2018-11-16 15:59:44 +00:00
parent 0253dbcc70
commit 3f4f9902cb
+2 -5
View File
@@ -192,11 +192,6 @@ ExecuteResult StartAndroidPackageForCapture(const char *host, const char *packag
// adb shell cmd package resolve-activity -c android.intent.category.LAUNCHER com.jake.cube1
string activityName = GetDefaultActivityForPackage(deviceID, packageName);
if(activityName.find(packageName) == std::string::npos)
RDCERR(
"Activity name doesn't contain package name - potential problem, check package has default "
"activity");
uint16_t jdwpPort = GetJdwpPort();
// remove any previous jdwp port forward on this port
@@ -245,6 +240,8 @@ ExecuteResult StartAndroidPackageForCapture(const char *host, const char *packag
int pid = 0;
RDCLOG("Launching package '%s' with activity '%s'", packageName.c_str(), activityName.c_str());
if(injectLibraries)
{
RDCLOG("Setting up to launch the application as a debugger to inject.");