Fix AppCompatibility test for different process name of one package.
Change-Id: Ic30e5ee81fe6ea82e88d2c5541dc9fa9eba71043
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user