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

Commit 512acbea authored by Fabian Kozynski's avatar Fabian Kozynski Committed by android-build-merger
Browse files

Merge "Add BIND_WAIVE_PRIORITY for TileService" into qt-qpr1-dev am: 739e0276

am: f32151ed

Change-Id: I96ae1dbc4954d9a7594fda2af772ffddc4c05a08
parents 904f1897 f32151ed
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;