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

Commit ecbb7319 authored by Jin Seok Park's avatar Jin Seok Park
Browse files

Expose PendingIntent APIs for exposing component/type for CTS

Bug: 177701160
Test: atest CtsAppTestCases:android.app.cts.PendingIntentTest
      #testGetIntentComponentAndType
Change-Id: I7d57f44cf5d79debb776fa93e9e97b919eb5252e
parent c8f8ad2f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -281,6 +281,7 @@ package android.app {
  }

  public final class PendingIntent implements android.os.Parcelable {
    method @Nullable @RequiresPermission("android.permission.GET_INTENT_SENDER_INTENT") public java.util.List<android.content.pm.ResolveInfo> queryIntentComponents(int);
    field @Deprecated public static final int FLAG_MUTABLE_UNAUDITED = 33554432; // 0x2000000
  }

+1 −0
Original line number Diff line number Diff line
@@ -1277,6 +1277,7 @@ public final class PendingIntent implements Parcelable {
     */
    @RequiresPermission(permission.GET_INTENT_SENDER_INTENT)
    @SystemApi(client = Client.MODULE_LIBRARIES)
    @TestApi
    public @Nullable List<ResolveInfo> queryIntentComponents(@ResolveInfoFlags int flags) {
        try {
            return ActivityManager.getService()