Snap for 9463210 from c70f00ec748f9c1e5dbb4060e4696ce3a2187f72 to mainline-os-statsd-release

Change-Id: I6f605345e0c5149c0ccb2b5b3ca4f74a1e26d2d3
diff --git a/java/src/com/android/textclassifier/common/intent/LabeledIntent.java b/java/src/com/android/textclassifier/common/intent/LabeledIntent.java
index 5c420ad..abc879d 100644
--- a/java/src/com/android/textclassifier/common/intent/LabeledIntent.java
+++ b/java/src/com/android/textclassifier/common/intent/LabeledIntent.java
@@ -92,7 +92,7 @@
   @Nullable
   public Result resolve(Context context, @Nullable TitleChooser titleChooser) {
     final PackageManager pm = context.getPackageManager();
-    final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0);
+    final ResolveInfo resolveInfo = pm.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY);
 
     if (resolveInfo == null || resolveInfo.activityInfo == null) {
       // Failed to resolve the intent. It could be because there are no apps to handle