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

Commit da8e520a authored by Sergey Volnov's avatar Sergey Volnov
Browse files

Add BIND_INCLUDE_CAPABILITIES flag to ContentCaptureService

Bug: 153621002
Test: built Android
Change-Id: Ieedcd7ad888ef69e47f6f7c6df63a514eee75781
parent daeb3d4b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -54,7 +54,9 @@ final class RemoteContentCaptureService
            boolean verbose, int idleUnbindTimeoutMs) {
        super(context, serviceInterface, serviceComponentName, userId, perUserService,
                context.getMainThreadHandler(),
                bindInstantServiceAllowed ? Context.BIND_ALLOW_INSTANT : 0, verbose,
                Context.BIND_INCLUDE_CAPABILITIES
                        | (bindInstantServiceAllowed ? Context.BIND_ALLOW_INSTANT : 0),
                verbose,
                /* initialCapacity= */ 2);
        mPerUserService = perUserService;
        mServerCallback = callback.asBinder();