diff options
| author | 2024-10-16 12:33:00 +0000 | |
|---|---|---|
| committer | 2024-10-16 12:33:00 +0000 | |
| commit | 6b4520f3ac949cf460f469c756bc9781ae6f99e1 (patch) | |
| tree | 1617ed8141005f71a5e4b43a90173892c0963600 | |
| parent | c1edf208d51ef59b5dcd66cfaed1369918f6cea7 (diff) | |
| parent | 5f84d036db86126c11c8ed8f87a81c7a3d8f611f (diff) | |
Merge "Nit clean up" into main
| -rw-r--r-- | services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java b/services/appfunctions/java/com/android/server/appfunctions/AppFunctionManagerServiceImpl.java index 5d574083b326..28e57775523b 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 @@ public class AppFunctionManagerServiceImpl extends IAppFunctionManager.Stub { .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"); |