Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ public void onStart() {

// Attempt auto-sign in.
if (!mIsResolving) {
requestCredentials();
// Carmen: don't request credentials when the activity starts.
// Only do it when the user clicks on the "load credentials" button.
// We're not testing this feature right now, so we don't want this popup every time
// we launch the app.
//requestCredentials();
}
}

Expand Down Expand Up @@ -224,6 +228,8 @@ private void loadHintClicked() {
.build())
.setIdTokenRequested(shouldRequestIdToken())
.setEmailAddressIdentifierSupported(true)
// carmen: we're interested in phone numbers too.
.setPhoneNumberIdentifierSupported(true)
.setAccountTypes(IdentityProviders.GOOGLE)
.build();

Expand Down