Loading packages/SystemUI/src/com/android/systemui/qs/external/TileLifecycleManager.java +6 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading packages/SystemUI/src/com/android/systemui/qs/external/TileServiceManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,7 @@ public class TileServiceManager { if (!TileLifecycleManager.isTileAdded(context, component)) { TileLifecycleManager.setTileAdded(context, component, true); mStateManager.onTileAdded(); mStateManager.flushMessagesAndUnbind(); } } Loading Loading
packages/SystemUI/src/com/android/systemui/qs/external/TileLifecycleManager.java +6 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading
packages/SystemUI/src/com/android/systemui/qs/external/TileServiceManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,7 @@ public class TileServiceManager { if (!TileLifecycleManager.isTileAdded(context, component)) { TileLifecycleManager.setTileAdded(context, component, true); mStateManager.onTileAdded(); mStateManager.flushMessagesAndUnbind(); } } Loading