Bind print svcs as "in foreground" for location
Test: Interacted with wifi-direct printers Fixes: 132715500 Change-Id: Icead54500bf1557e88139a3b37085d3579d526fc
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user