Merge "Bind print svcs as "in foreground" for location" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-05-17 23:10:30 +00:00
committed by Android (Google) Code Review

View File

@@ -572,7 +572,8 @@ final class RemotePrintService implements DeathRecipient {
boolean wasBound = mContext.bindServiceAsUser(mIntent, mServiceConnection,
Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE
| Context.BIND_ALLOW_INSTANT, new UserHandle(mUserId));
| Context.BIND_INCLUDE_CAPABILITIES | Context.BIND_ALLOW_INSTANT,
new UserHandle(mUserId));
if (!wasBound) {
if (DEBUG) {