summaryrefslogtreecommitdiff
path: root/core/api/current.txt
diff options
context:
space:
mode:
Diffstat (limited to 'core/api/current.txt')
-rw-r--r--core/api/current.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/api/current.txt b/core/api/current.txt
index 0d8e3a775147..b2f633726494 100644
--- a/core/api/current.txt
+++ b/core/api/current.txt
@@ -29936,6 +29936,11 @@ package android.os {
ctor public OperationCanceledException(String);
}
+ public interface OutcomeReceiver<R, E extends java.lang.Throwable> {
+ method public default void onError(@NonNull E);
+ method public void onResult(@NonNull R);
+ }
+
public final class Parcel {
method public void appendFrom(android.os.Parcel, int, int);
method @Nullable public android.os.IBinder[] createBinderArray();