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

Commit da2d69c8 authored by Mark Renouf's avatar Mark Renouf
Browse files

Add ChooserResult constructor to @TestApi

Creating a ChooserResult isn't public API however, a constructor
is required for CTS test coverage.

Test: CTS
Bug: 325776661
Change-Id: Ieab04a64eb6d29a95192dba2a5377366b86aa410
parent 36c28755
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3063,6 +3063,14 @@ package android.service.autofill.augmented {

}

package android.service.chooser {

  @FlaggedApi("android.service.chooser.enable_chooser_result") public final class ChooserResult implements android.os.Parcelable {
    ctor public ChooserResult(int, @Nullable android.content.ComponentName, boolean);
  }

}

package android.service.dreams {

  public abstract class DreamOverlayService extends android.app.Service {
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.annotation.FlaggedApi;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.TestApi;
import android.compat.annotation.ChangeId;
import android.compat.annotation.EnabledSince;
import android.compat.annotation.Overridable;
@@ -91,6 +92,7 @@ public final class ChooserResult implements Parcelable {
    }

    /** @hide */
    @TestApi
    public ChooserResult(@ResultType int type, @Nullable ComponentName componentName,
            boolean isShortcut) {
        mType = type;