Add parameter extraction and response building internal functions
These util functions will be used by AppFunctionServiceDelegate to
extract parameters from ExecuteAppFunctionRequest to invoke the
function. Then construct the ExecuteAppFunctionResponse from the result.
Test: ./gradlew :appfunctions:appfunctions-runtime:connectedAndroidTest
Change-Id: Ibc45a63bb536d529ef967eec4dd3c00e624855a9
diff --git a/appfunctions/appfunctions-runtime/build.gradle b/appfunctions/appfunctions-runtime/build.gradle
index b4172f7..7a6d333 100644
--- a/appfunctions/appfunctions-runtime/build.gradle
+++ b/appfunctions/appfunctions-runtime/build.gradle
@@ -33,6 +33,7 @@
api(libs.kotlinStdlib)
// Internal dependencies
+ implementation(libs.kotlinCoroutinesAndroid)
implementation("androidx.annotation:annotation:1.9.0-rc01")
implementation project(":appfunctions:appfunctions-common")
implementation(libs.kotlinCoroutinesAndroid)
@@ -52,6 +53,7 @@
androidTestImplementation(libs.junit)
androidTestImplementation(libs.truth)
androidTestImplementation(libs.kotlinCoroutinesTest)
+ androidTestImplementation(libs.testParameterInjector)
}
android {