diff options
author | Oluwatobi Bashir-Bello <nbashirbello@google.com> | 2014-07-17 21:00:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-07-17 19:13:41 +0000 |
commit | 3467899b9cb46714931fac569aee883cc61bfead (patch) | |
tree | 6394d569e7934614b2eabcbf1b585099c9d0d158 | |
parent | f5c5d5195c3edfdd99114cabce1c8e1f1d837cad (diff) | |
parent | 90b2f9babdc404e440f694d42703e920ef0f1c1d (diff) | |
download | cloud-3467899b9cb46714931fac569aee883cc61bfead.tar.gz |
Merge "AS Google Login - Fix bug when the google login menu item fails to be updated when a log in attempt is not completed." into idea133
-rw-r--r-- | login/src/com/google/gct/login/GoogleLogin.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/login/src/com/google/gct/login/GoogleLogin.java b/login/src/com/google/gct/login/GoogleLogin.java index d97b68e..10d4a89 100644 --- a/login/src/com/google/gct/login/GoogleLogin.java +++ b/login/src/com/google/gct/login/GoogleLogin.java @@ -281,7 +281,6 @@ public class GoogleLogin { * See {@link #logIn(String)}. */ public void logIn() { - users.removeActiveUser(); logIn(null, null); } @@ -301,6 +300,9 @@ public class GoogleLogin { * either succeeds or fails. */ public void logIn(final String message, @Nullable final IGoogleLoginCompletedCallback callback) { + users.removeActiveUser(); + uiFacade.notifyStatusIndicator(); + final GoogleLoginState state = createGoogleLoginState(); ApplicationManager.getApplication().executeOnPooledThread(new Runnable() { |