commit | 6b4520f3ac949cf460f469c756bc9781ae6f99e1 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Wed Oct 16 12:33:00 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Oct 16 12:33:00 2024 +0000 |
tree | 1617ed8141005f71a5e4b43a90173892c0963600 | |
parent | c1edf208d51ef59b5dcd66cfaed1369918f6cea7 [diff] | |
parent | 5f84d036db86126c11c8ed8f87a81c7a3d8f611f [diff] |
Merge "Nit clean up" into main
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");