Merge "Add BIND_INCLUDE_CAPABILITIES flags to SystemCaptionsManagerService" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b402caadc5
@@ -108,7 +108,8 @@ final class RemoteSystemCaptionsManagerService {
|
|||||||
}
|
}
|
||||||
mBinding = true;
|
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,
|
boolean willBind = mContext.bindServiceAsUser(mIntent, mServiceConnection, flags,
|
||||||
mHandler, new UserHandle(mUserId));
|
mHandler, new UserHandle(mUserId));
|
||||||
if (!willBind) {
|
if (!willBind) {
|
||||||
|
|||||||
Reference in New Issue
Block a user