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

Commit c3c62274 authored by Azhara Assanova's avatar Azhara Assanova Committed by Android (Google) Code Review
Browse files

Merge "Remove ComponentCaller constructor from the public APIs" into main

parents 796e40c6 99b8ecb5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -5448,7 +5448,6 @@ package android.app {
  }
  @FlaggedApi("android.security.content_uri_permission_apis") public final class ComponentCaller {
    ctor public ComponentCaller(@NonNull android.os.IBinder, @Nullable android.os.IBinder);
    method public int checkContentUriPermission(@NonNull android.net.Uri, int);
    method @Nullable public String getPackage();
    method public int getUid();
+3 −0
Original line number Diff line number Diff line
@@ -42,6 +42,9 @@ public final class ComponentCaller {
    private final IBinder mActivityToken;
    private final IBinder mCallerToken;

    /**
     * @hide
     */
    public ComponentCaller(@NonNull IBinder activityToken, @Nullable IBinder callerToken) {
        mActivityToken = activityToken;
        mCallerToken = callerToken;