Skip to content

Commit

Permalink
Fixing (I believe) #25
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Oliveira committed Mar 17, 2014
1 parent 6c8da15 commit 480e8f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,12 @@ void OnSignInSucceeded(int origin) {
if (origin == ORIGIN_MAIN_ACTIVITY) {
mAndroidClient.OnSignInSucceeded();
} else if (origin == ORIGIN_SIGN_IN_HELPER_ACTIVITY) {
// the sign in helper Activity succeeded sign in, so we are ready to
// start setting up our GameHelper.
Logger.d("GHM got helper's OnSignInSucceeded, so calling GameHelper.onStart");
mGameHelper.Call("onStart", mAndroidClient.GetActivity());
// the sign in helper Activity succeeded sign in
Logger.d("GHM got helper's OnSignInSucceeded.");
// we don't need to do anything here because as soon as the sign in helper
// activity is finished, we will get OnResume() and then we'll try to
// reconnect our GameHelper, which will result in a success.
// DO NOT CALL mGameHelper.Call("onStart", mAndroidClient.GetActivity()) HERE.
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,6 @@ public void beginUserInitiatedSignIn() {
} else {
// We don't have a pending connection result, so start anew.
debugLog("beginUserInitiatedSignIn: starting new sign-in flow.");
mConnecting = true;
connect();
}
}
Expand Down

0 comments on commit 480e8f3

Please sign in to comment.