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

Commit 08c469d5 authored by Oluwarotimi Adesina's avatar Oluwarotimi Adesina Committed by Desh
Browse files

API Council feedback

Flag: android.app.appfunctions.flags.enable_app_function_manager
Test: CTS
Bug: 376890974
Change-Id: Idc835c2af581a0f60a2c64d2ffafbbb1a353356a
parent 95f5091d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8837,7 +8837,7 @@ package android.app.appfunctions {
    field public static final int ERROR_CATEGORY_REQUEST_ERROR = 1; // 0x1
    field public static final int ERROR_CATEGORY_SYSTEM = 2; // 0x2
    field public static final int ERROR_CATEGORY_UNKNOWN = 0; // 0x0
    field public static final String PROPERTY_RETURN_VALUE = "returnValue";
    field public static final String PROPERTY_RETURN_VALUE = "android_app_appfunctions_returnvalue";
    field public static final int RESULT_APP_UNKNOWN_ERROR = 3000; // 0xbb8
    field public static final int RESULT_CANCELLED = 2001; // 0x7d1
    field public static final int RESULT_DENIED = 1000; // 0x3e8
+2 −2
Original line number Diff line number Diff line
@@ -111,8 +111,8 @@ public final class ExecuteAppFunctionRequest implements Parcelable {
     * Returns the function parameters. The key is the parameter name, and the value is the
     * parameter value.
     *
     * <p>The bundle may have missing parameters. Developers are advised to implement defensive
     * handling measures.
     * <p>The {@link GenericDocument} may have missing parameters. Developers are advised to
     * implement defensive handling measures.
     *
     * @see AppFunctionManager on how to determine the expected parameters.
     */
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ public final class ExecuteAppFunctionResponse implements Parcelable {
     *
     * <p>See {@link #getResultDocument} for more information on extracting the return value.
     */
    public static final String PROPERTY_RETURN_VALUE = "returnValue";
    public static final String PROPERTY_RETURN_VALUE = "android_app_appfunctions_returnvalue";

    /**
     * The call was successful.
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ package com.google.android.appfunctions.sidecar {
    field public static final int ERROR_CATEGORY_REQUEST_ERROR = 1; // 0x1
    field public static final int ERROR_CATEGORY_SYSTEM = 2; // 0x2
    field public static final int ERROR_CATEGORY_UNKNOWN = 0; // 0x0
    field public static final String PROPERTY_RETURN_VALUE = "returnValue";
    field public static final String PROPERTY_RETURN_VALUE = "android_app_appfunctions_returnvalue";
    field public static final int RESULT_APP_UNKNOWN_ERROR = 3000; // 0xbb8
    field public static final int RESULT_CANCELLED = 2001; // 0x7d1
    field public static final int RESULT_DENIED = 1000; // 0x3e8
+2 −2
Original line number Diff line number Diff line
@@ -91,8 +91,8 @@ public final class ExecuteAppFunctionRequest {
     * Returns the function parameters. The key is the parameter name, and the value is the
     * parameter value.
     *
     * <p>The bundle may have missing parameters. Developers are advised to implement defensive
     * handling measures.
     * <p>The {@link GenericDocument} may have missing parameters. Developers are advised to
     * implement defensive handling measures.
     *
     * <p>Similar to {@link #getFunctionIdentifier()} the parameters required by a function can be
     * obtained by querying AppSearch for the corresponding {@code AppFunctionStaticMetadata}. This
Loading