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

Commit 0318c9a6 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

Change-Id: I34e6ed3e9641e67dde208a43b063192c8c92e8c8
parents eaf5301f 89fb99c8
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();
        }
    }