Q:

Google Play Game Services weirdness on failed login/retry (Activity Lifecycle)

Problem
User presses 'Scores' button (which kicks off the Login process to log into the Google Play Games Services via beginUserInitiatedSignIn()), and then presses the 'home' key before it manages to log in.  When returning to the app, it looks like the play services tries to 'pick up where it left off' and continues to sign in.  But it's not quite right.
onActivityResult returns 0 at first (Not successful, which I would expect as it was interupted), then attempts to log in again and returns -1 which means Successful Great! But no, if I call getGameHelper().isSignedIn(); it returns false.
What is happening here?!  Anything I may be overlooking or anything I can check?

A:

Until you get a call to ConnectionCallbacks.onConnected (or onSignInSucceeded if you are using GameHelper), you are not connected.
Your onActivityResult should call GoogleApiClient.connect() when it receives a successful response so that the appropriate connection can be established and your onConnected callback is made.

