Loading core/java/com/android/internal/util/StateMachine.java +28 −22 Original line number Diff line number Diff line Loading @@ -672,6 +672,9 @@ public class StateMachine { private static class SmHandler extends Handler { /** true if StateMachine has quit */ private boolean mHasQuit = false; /** The debug flag */ private boolean mDbg = false; Loading Loading @@ -773,6 +776,7 @@ public class StateMachine { */ @Override public final void handleMessage(Message msg) { if (!mHasQuit) { if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what); /** Save the current message */ Loading @@ -797,6 +801,7 @@ public class StateMachine { // We need to check if mSm == null here as we could be quitting. if (mDbg && mSm != null) mSm.log("handleMessage: X"); } } /** * Do any transitions Loading Loading @@ -908,6 +913,7 @@ public class StateMachine { mInitialState = null; mDestState = null; mDeferredMessages.clear(); mHasQuit = true; } /** Loading Loading
core/java/com/android/internal/util/StateMachine.java +28 −22 Original line number Diff line number Diff line Loading @@ -672,6 +672,9 @@ public class StateMachine { private static class SmHandler extends Handler { /** true if StateMachine has quit */ private boolean mHasQuit = false; /** The debug flag */ private boolean mDbg = false; Loading Loading @@ -773,6 +776,7 @@ public class StateMachine { */ @Override public final void handleMessage(Message msg) { if (!mHasQuit) { if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what); /** Save the current message */ Loading @@ -797,6 +801,7 @@ public class StateMachine { // We need to check if mSm == null here as we could be quitting. if (mDbg && mSm != null) mSm.log("handleMessage: X"); } } /** * Do any transitions Loading Loading @@ -908,6 +913,7 @@ public class StateMachine { mInitialState = null; mDestState = null; mDeferredMessages.clear(); mHasQuit = true; } /** Loading