-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Remove unnecessary (?) SignInActivity #443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
samtstern
merged 36 commits into
firebase:version-1.1.0-dev
from
SUPERCILEX:remove-unnecessary-sign-in-activity
Dec 7, 2016
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
d515d5f
Initial refactor
SUPERCILEX cf342ce
Fix broken tests
SUPERCILEX c8a0d26
Cleanup
SUPERCILEX b7d9054
Merge remote-tracking branch 'firebase/master' into register-email-re…
SUPERCILEX 0c5701a
Fix merge mistakes
SUPERCILEX a793f8c
Merge remote-tracking branch 'firebase/master' into register-email-re…
SUPERCILEX d7ebebc
Remove unused resources
SUPERCILEX 78e83ca
Fix smart lock memory leak
SUPERCILEX f304277
Fix another memory leak
SUPERCILEX 5aa595c
Cleanup
SUPERCILEX 5080f82
Merge remote-tracking branch 'firebase/master' into register-email-re…
SUPERCILEX 98ed856
Address review comments and add CCT
SUPERCILEX 44408f1
Merge remote-tracking branch 'firebase/master' into register-email-re…
SUPERCILEX 8d162f5
Tie WelcomeBackPasswordPrompt.java failure listener to activity
SUPERCILEX 3568e84
Cleanup
SUPERCILEX 7022cb6
Remove SignInActivity.java
SUPERCILEX f4a1790
Update gradle, update dependencies, fix Facebook theme, fix Facebook CCT
SUPERCILEX d901d4c
Remove unnecessary setApplicationId
SUPERCILEX 93e78ef
Remove unnecessary theme
SUPERCILEX fe4739c
Fix activity leak
SUPERCILEX f84f06b
Cleanup
SUPERCILEX 38da2d2
Cleanup
SUPERCILEX f0707fa
Merge remote-tracking branch 'firebase/master' into fb-mem-leak
SUPERCILEX 37dd743
Merge remote-tracking branch 'firebase/version-1.1.0-dev' into remove…
SUPERCILEX 36a9321
Fix merge mistakes
SUPERCILEX 9397787
Merge remote-tracking branch 'firebase/version-1.1.0-dev' into remove…
SUPERCILEX 8f6ac6c
Remove unused resources
SUPERCILEX 203a831
Merge remote-tracking branch 'firebase/version-1.1.0-dev' into fb-mem…
SUPERCILEX 7b3d0a7
Remove Twitter request email until #436 discussion is resolved
SUPERCILEX 971c8e6
Cleanup
SUPERCILEX 171ec53
Remove unnecessary sign out
SUPERCILEX e417da4
Show keyboard on activity start
SUPERCILEX c04dc2f
Cleanup
SUPERCILEX b94c0fe
Merge remote-tracking branch 'firebase/version-1.1.0-dev' into remove…
SUPERCILEX ded6bcf
Merge branch 'fb-mem-leak' into remove-unnecessary-sign-in-activity
SUPERCILEX 52695a7
Fix broken error handling
SUPERCILEX File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
131 changes: 0 additions & 131 deletions
131
auth/src/main/java/com/firebase/ui/auth/ui/email/SignInActivity.java
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samtstern Do you know why we were doing this? It seems unnecessary and just using
linkWithCredential
works fine.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it was added in this commit
The only reason I can think to do this is that known issue about
FirebaseUser
changes not taking effect until signout/signin, but I believe that's only for explicit profile information change requests.One thing I am seeing now is that the
linkWithCredential
call is done as fire-and-forget, which will almost certainly create some strange race conditions.Seems like the original author should have been chaining the link-->signout-->sign in operations together.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Humm, so should I revert and use a continuation or leave it at
linkWithCredential
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we leave it with your new implementation. I can't see a reason for the sign out thing.