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

Commit f7c6475d authored by Maxim Siniavine's avatar Maxim Siniavine Committed by Android Git Automerger
Browse files

am 85478b59: Skip apps without launch intent.

* commit '85478b59':
  Skip apps without launch intent.
parents d15c6de2 85478b59
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -127,6 +127,10 @@ public class AppCompatibility extends InstrumentationTestCase {
        homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

        Intent intent = mPackageManager.getLaunchIntentForPackage(packageName);
        // Skip if the apk does not have a launch intent.
        if (intent == null) {
            return null;
        }

        // We check for any Crash or ANR dialogs that are already up, and we ignore them.  This is
        // so that we don't report crashes that were caused by prior apps (which those particular