Merge "Add BIND_INCLUDE_CAPABILITIES flags to SystemCaptionsManagerService" into rvc-dev am: b402caadc5

Change-Id: Iaca180d0a47b7306c3a531406b49ac9639e6751d
This commit is contained in:
TreeHugger Robot
2020-04-03 23:17:33 +00:00
committed by Automerger Merge Worker

View File

@@ -108,7 +108,8 @@ final class RemoteSystemCaptionsManagerService {
}
mBinding = true;
int flags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE;
int flags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE
| Context.BIND_INCLUDE_CAPABILITIES;
boolean willBind = mContext.bindServiceAsUser(mIntent, mServiceConnection, flags,
mHandler, new UserHandle(mUserId));
if (!willBind) {