Commit 74c492e1 authored by acleung's avatar acleung Committed by Commit bot

All resigin passively

BUG=416707
TBR=joaodasilva

Review URL: https://codereview.chromium.org/601133002

Cr-Commit-Position: refs/heads/master@{#296754}
parent 076f82b4
......@@ -218,7 +218,8 @@ public class SigninManager {
return;
}
if (ApplicationStatus.getStateForActivity(mSignInActivity) == ActivityState.DESTROYED) {
if (mSignInActivity != null &&
ApplicationStatus.getStateForActivity(mSignInActivity) == ActivityState.DESTROYED) {
// The activity is no longer running, cancel sign in.
cancelSignIn();
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment