forked from organicmaps/organicmaps
FB fix.
This commit is contained in:
parent
be02bdb317
commit
619b3963b7
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class MWMActivity extends NvEventQueueActivity
|
|||
@Override
|
||||
public void call(Session session, SessionState state, Exception exception)
|
||||
{
|
||||
if (state.isOpened() && mShouldReauthorize)
|
||||
if (state != null && state.isOpened() && mShouldReauthorize)
|
||||
mShouldReauthorize = FbUtil.makeFbPromoPost(MWMActivity.this);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue