Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd806b0e authored by wsmlby's avatar wsmlby
Browse files

Fix AppCompatibility test for different process name of one package.

Change-Id: Ic30e5ee81fe6ea82e88d2c5541dc9fa9eba71043
parent 329a406e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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);