summaryrefslogtreecommitdiff
path: root/services/appfunctions/java
diff options
context:
space:
mode:
author Utkarsh Nigam <utkarshnigam@google.com> 2024-10-03 14:07:54 +0000
committer Utkarsh Nigam <utkarshnigam@google.com> 2024-10-03 14:07:54 +0000
commitae78431560d32230dc2bf3eb9774c6025f86f42c (patch)
treecb22c746792cd6222e2a22c74f904497d3e99c12 /services/appfunctions/java
parent5495a2b568d683f8747f6fca90797ec25b57cd5a (diff)
Make onExecuteAppFunction non-abstract and remove timeout results.
This is required so g3 usages can stop overriding this deprecated method and the timeout logic was removed in ag/29477656 Change-Id: Icd07685ea296403b48f4c3cbd74c2e7c3ad28430 Flag: android.app.appfunctions.flags.enable_app_function_manager Test: atest CtsAppFunctionTestCases -c Bug: 360864791
Diffstat (limited to 'services/appfunctions/java')
-rw-r--r--services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java b/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java
index c87d516d2ab4..2d9e76b73291 100644
--- a/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java
+++ b/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java
@@ -492,7 +492,7 @@ public class AppFunctionManagerServiceImpl extends IAppFunctionManager.Stub {
Slog.e(TAG, "Failed to bind to the AppFunctionService");
safeExecuteAppFunctionCallback.onResult(
ExecuteAppFunctionResponse.newFailure(
- ExecuteAppFunctionResponse.RESULT_TIMED_OUT,
+ ExecuteAppFunctionResponse.RESULT_INTERNAL_ERROR,
"Failed to bind the AppFunctionService.",
/* extras= */ null));
}