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

Commit 70cc6341 authored by Oluwarotimi Adesina's avatar Oluwarotimi Adesina
Browse files

Bind executeAppFunction with Context.BIND_FOREGROUND_SERVICE

Flag: android.app.appfunctions.flags.enable_app_function_manager
Test: cts
Bug: 357551503
Change-Id: I0b59db85318ccefc4967675b19c03a014d79438c
parent d4ea4434
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -204,7 +204,8 @@ public class AppFunctionManagerServiceImpl extends IAppFunctionManager.Stub {
                                            serviceIntent,
                                            targetUser,
                                            safeExecuteAppFunctionCallback,
                                            /* bindFlags= */ Context.BIND_AUTO_CREATE);
                                            /* bindFlags= */ Context.BIND_AUTO_CREATE
                                                    | Context.BIND_FOREGROUND_SERVICE);
                                })
                        .exceptionally(
                                ex -> {