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

Commit 59b5c103 authored by Mike Tsao's avatar Mike Tsao Committed by Android (Google) Code Review
Browse files

Merge "Fix QS CTS failure caused by tile backup" into nyc-dr1-dev

parents 1ceb0fcf 34f6cbc2
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();
        }
    }