Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment