Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f84d036 authored by Desh's avatar Desh
Browse files

Nit clean up

Flag: android.app.appfunctions.flags.enable_app_function_manager
Test: Existing
Bug: 357551503
Change-Id: I6b3401c8e2408a8adf5735c96ddad0d4edc1fc8b
parent ec8b32dc
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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");