Bind NotificationService with INCLUDE_CAPABILITIES
Bug: 162273210 Test: presubmit tests Change-Id: I36af96e141704917e043b7899b8eb595018b00af
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user