diff options
author | 2024-11-08 14:56:23 +0000 | |
---|---|---|
committer | 2024-11-08 14:59:16 +0000 | |
commit | 982de1afa77b76588952a29315dfbd1ad9dc2d73 (patch) | |
tree | 220155b5027abf00f47ea91d77af725d988ccda5 | |
parent | 2f8329c7e0c08b9ebd7a4598c4d4b5b1384151c4 (diff) |
AppSearch PropertyPath does not allow non alphanumeric char
Flag: android.app.appfunctions.flags.enable_app_function_manager
Test: cts
Bug: 357551503
Change-Id: I01c3bbb24771b8ad1012259d3972638c1ffdd2c3
4 files changed, 4 insertions, 5 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index 843c2eb07297..fd2403d79439 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -8857,7 +8857,7 @@ package android.app.appfunctions { method @NonNull public android.app.appsearch.GenericDocument getResultDocument(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.app.appfunctions.ExecuteAppFunctionResponse> CREATOR; - field public static final String PROPERTY_RETURN_VALUE = "android_app_appfunctions_returnvalue"; + field public static final String PROPERTY_RETURN_VALUE = "androidAppfunctionsReturnValue"; } } diff --git a/core/java/android/app/appfunctions/ExecuteAppFunctionResponse.java b/core/java/android/app/appfunctions/ExecuteAppFunctionResponse.java index f7030265b122..acad43b782e5 100644 --- a/core/java/android/app/appfunctions/ExecuteAppFunctionResponse.java +++ b/core/java/android/app/appfunctions/ExecuteAppFunctionResponse.java @@ -20,7 +20,6 @@ import static android.app.appfunctions.flags.Flags.FLAG_ENABLE_APP_FUNCTION_MANA import android.annotation.FlaggedApi; import android.annotation.NonNull; -import android.annotation.Nullable; import android.app.appsearch.GenericDocument; import android.os.Bundle; import android.os.Parcel; @@ -65,7 +64,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 = "android_app_appfunctions_returnvalue"; + public static final String PROPERTY_RETURN_VALUE = "androidAppfunctionsReturnValue"; /** * Returns the return value of the executed function. diff --git a/libs/appfunctions/api/current.txt b/libs/appfunctions/api/current.txt index f56667df92ca..de402095e195 100644 --- a/libs/appfunctions/api/current.txt +++ b/libs/appfunctions/api/current.txt @@ -59,7 +59,7 @@ package com.android.extensions.appfunctions { ctor public ExecuteAppFunctionResponse(@NonNull android.app.appsearch.GenericDocument, @NonNull android.os.Bundle); method @NonNull public android.os.Bundle getExtras(); method @NonNull public android.app.appsearch.GenericDocument getResultDocument(); - field public static final String PROPERTY_RETURN_VALUE = "android_app_appfunctions_returnvalue"; + field public static final String PROPERTY_RETURN_VALUE = "androidAppfunctionsReturnValue"; } } diff --git a/libs/appfunctions/java/com/android/extensions/appfunctions/ExecuteAppFunctionResponse.java b/libs/appfunctions/java/com/android/extensions/appfunctions/ExecuteAppFunctionResponse.java index 42c3c033ad38..0826f04a50dd 100644 --- a/libs/appfunctions/java/com/android/extensions/appfunctions/ExecuteAppFunctionResponse.java +++ b/libs/appfunctions/java/com/android/extensions/appfunctions/ExecuteAppFunctionResponse.java @@ -39,7 +39,7 @@ public final class ExecuteAppFunctionResponse { * * <p>See {@link #getResultDocument} for more information on extracting the return value. */ - public static final String PROPERTY_RETURN_VALUE = "android_app_appfunctions_returnvalue"; + public static final String PROPERTY_RETURN_VALUE = "androidAppfunctionsReturnValue"; /** * Returns the return value of the executed function. |