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

Commit dd61f8b5 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Fix QS CTS failure caused by tile backup am: 34f6cbc2 am: 89fb99c8 am: 0318c9a6

am: 10bd4997

Change-Id: Ia150821cf25bdf4494a3202c7632557a9858284d
parents a9ce8606 10bd4997
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -129,6 +129,12 @@ public class TileLifecycleManager extends BroadcastReceiver implements
    }

    public void setBindService(boolean bind) {
        if (mBound && mUnbindImmediate) {
            // If we are already bound and expecting to unbind, this means we should stay bound
            // because something else wants to hold the connection open.
            mUnbindImmediate = false;
            return;
        }
        mBound = bind;
        if (bind) {
            if (mBindTryCount == MAX_BIND_RETRIES) {
+1 −0
Original line number Diff line number Diff line
@@ -95,6 +95,7 @@ public class TileServiceManager {
        if (!TileLifecycleManager.isTileAdded(context, component)) {
            TileLifecycleManager.setTileAdded(context, component, true);
            mStateManager.onTileAdded();
            mStateManager.flushMessagesAndUnbind();
        }
    }