Google Firebase sign out and forget user in Android app
<p>When I call <code>mFirebaseAuth.signOut()</code> or <code>mFirebaseUser.delete()</code> my <code>FirebaseAuth.AuthStateListener()</code> works correctly and returns <code>null</code> as <code>FirebaseUser</code> instance in <code>onAuthStateChanged</code>, I refresh UI and show "Sign in with Google" button.</p>

<p>But when I want to log in again, I don't see the dialog with users (I have 2 users on my device, attached the image). The app shows this dialog only in first sign in, after that it uses the same user. If I clear app's data on the settings screen I will be able to see this dialog again.</p>

<p>My question is how to show this dialog after every sign out.</p>

<p><a href="https://i.stack.imgur.com/kyaAV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kyaAV.png" alt="enter image description here"></a></p>

<p>I run this code when press Sign In button:</p>

<pre><code>// in onCreate()
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                .requestIdToken(getString(R.string.default_web_client_id))
                .requestEmail()
                .build();
mGoogleApiClient = new GoogleApiClient.Builder(this)
                .enableAutoManage(this /* FragmentActivity */, this /* OnConnectionFailedListener */)
                .addApi(Auth.GOOGLE_SIGN_IN_API, gso)
                .build();

// in OnClickListener
Intent signInIntent = Auth.GoogleSignInApi.getSignInIntent(mGoogleApiClient);
            startActivityForResult(signInIntent, FirebaseActivity.REQUEST_SIGN_IN);
</code></pre>

<p>In <code>onActivityResult()</code>, I get an instance of <code>GoogleSignInResult</code> so everything I need happens after I call <code>startActivityForResult()</code>.</p>