Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 739e0276 authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Android (Google) Code Review
Browse files

Merge "Add BIND_WAIVE_PRIORITY for TileService" into qt-qpr1-dev

parents e1292f71 ff888daf
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -159,8 +159,11 @@ public class TileLifecycleManager extends BroadcastReceiver implements
            mBindTryCount++;
            try {
                mIsBound = mContext.bindServiceAsUser(mIntent, this,
                        Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE_WHILE_AWAKE
                        | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS, mUser);
                        Context.BIND_AUTO_CREATE
                                | Context.BIND_FOREGROUND_SERVICE_WHILE_AWAKE
                                | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS
                                | Context.BIND_WAIVE_PRIORITY,
                        mUser);
            } catch (SecurityException e) {
                Log.e(TAG, "Failed to bind to service", e);
                mIsBound = false;