Skip to content
This repository has been archived by the owner on Aug 3, 2019. It is now read-only.

Fix null pointer exception when requesting a list of permissions before ... #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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 @@ -164,7 +164,7 @@ public SessionStatusCallback getSessionStatusCallback() {
* @return the list of accepted permissions
*/
public List<String> getActiveSessionPermissions() {
return getActiveSession().getPermissions();
return getOrCreateActiveSession().getPermissions();
}

public Activity getActivity() {
Expand Down