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

Commit 8ca31120 authored by Alex Salo's avatar Alex Salo
Browse files

Bind NotificationService with INCLUDE_CAPABILITIES

Bug: 162273210
Test: presubmit tests
Change-Id: I36af96e141704917e043b7899b8eb595018b00af
parent 3db2e59e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -437,7 +437,7 @@ public abstract class AbstractRemoteService<S extends AbstractRemoteService<S, I
        mBinding = true;

        final int flags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE
                | mBindingFlags;
                | Context.BIND_INCLUDE_CAPABILITIES | mBindingFlags;

        final boolean willBind = mContext.bindServiceAsUser(mIntent, mServiceConnection, flags,
                mHandler, new UserHandle(mUserId));