Skip to content

Commit

Permalink
Bind print svcs as "in foreground" for location
Browse files Browse the repository at this point in the history
Test: Interacted with wifi-direct printers
Fixes: 132715500
Change-Id: Icead54500bf1557e88139a3b37085d3579d526fc
  • Loading branch information
moltmann committed May 14, 2019
1 parent 1198fc4 commit be538c2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,8 @@ private void ensureBound() {

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) {
Expand Down

0 comments on commit be538c2

Please sign in to comment.