-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from pilif/fix-request-initializer
make AuthorizationFlow.setRequestInitializer() work
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains 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
13bb765
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 may be missing something but this makes the Simple Oauth 2.0 (linkedIn) example fail with
NullPointerException
asgetRequestInitializer() == null
. This is expected since there is no statement setting the request initializer when setting up the AuthorizationFlow inSimpleOauth2ExplicitActivity onActivityCreated
.Without any real understanding of the code I've just wrapped it with
if(getRequestInitializer() != null)