Merge "Fix AppCompatibility test for different process name of one package." into lmp-dev

This commit is contained in:
wsmlby
2014-09-10 00:21:26 +00:00
committed by Android (Google) Code Review

View File

@@ -208,6 +208,12 @@ public class AppCompatibility extends InstrumentationTestCase {
Log.d(TAG, "Found process " + app.processName);
return true;
}
for (String relatedPackage : app.pkgList) {
if (relatedPackage.equalsIgnoreCase(processName)) {
Log.d(TAG, "Found process " + app.processName);
return true;
}
}
}
Log.d(TAG, "Failed to find process " + processName + " with package name "
+ packageName);