commit | 5f84d036db86126c11c8ed8f87a81c7a3d8f611f | [log] [tgz] |
---|---|---|
author | Desh <oadesina@google.com> | Wed Oct 16 10:44:24 2024 +0000 |
committer | Desh <oadesina@google.com> | Wed Oct 16 10:44:24 2024 +0000 |
tree | 2c9192fc2537789d8253c3bcd452f986386176ff | |
parent | ec8b32dc1724d5a1e1dcbc711fbb2208075fb765 [diff] |
Nit clean up Flag: android.app.appfunctions.flags.enable_app_function_manager Test: Existing Bug: 357551503 Change-Id: I6b3401c8e2408a8adf5735c96ddad0d4edc1fc8b
diff --git a/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java b/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java index 5d57408..28e5777 100644 --- a/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java +++ b/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java
@@ -225,12 +225,6 @@ .thenAccept( canExecute -> { if (!canExecute) { - safeExecuteAppFunctionCallback.onResult( - ExecuteAppFunctionResponse.newFailure( - ExecuteAppFunctionResponse.RESULT_DENIED, - "Caller does not have permission to execute the" - + " appfunction", - /* extras= */ null)); throw new SecurityException( "Caller does not have permission to execute the" + " appfunction");