Skip to content

Commit

Permalink
Fix callback not being called on the main thread issue.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 303794317
Change-Id: I2c13ec1ce64f621cf0f447508a9f3d4258f4e552
  • Loading branch information
ozdemir08 authored and cya-x committed Mar 30, 2020
1 parent 63dffc2 commit d5f099d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void Authenticate(bool silent, Action<SignInStatus> callback)
}
mAuthState = AuthState.Authenticated;
callback(SignInStatus.Success);
InvokeCallbackOnGameThread(callback, SignInStatus.Success);
GooglePlayGames.OurUtils.Logger.d("Authentication succeeded");
try
{
Expand Down

0 comments on commit d5f099d

Please sign in to comment.