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

Commit 8887365f authored by Mehdi Alizadeh's avatar Mehdi Alizadeh
Browse files

Make ShortcutInfo@getPersons() systemApi

Bug: 123892900
Test: None
Change-Id: Ic86fbd577f5473f882f806d4a8e98a923a39f0fb
parent f24aad94
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1711,6 +1711,10 @@ package android.content.pm {
    field public boolean handleAllWebDataURI;
  }
  public final class ShortcutInfo implements android.os.Parcelable {
    method @Nullable public android.app.Person[] getPersons();
  }
  public class ShortcutManager {
    method @NonNull public java.util.List<android.content.pm.ShortcutManager.ShareShortcutInfo> getShareTargets(@NonNull android.content.IntentFilter);
  }
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package android.content.pm;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.SystemApi;
import android.annotation.TestApi;
import android.annotation.UnsupportedAppUsage;
import android.annotation.UserIdInt;
@@ -1482,6 +1483,7 @@ public final class ShortcutInfo implements Parcelable {
     * @hide
     */
    @Nullable
    @SystemApi
    public Person[] getPersons() {
        return clonePersons(mPersons);
    }