handleAnyPlayServicesError - Context requires the FLAG_ACTIVITY_NEW_TASK

Hi, 

Version used: 7.0.0

I'm getting this exception: 

Fatal Exception: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
at android.app.ContextImpl.startActivity(ContextImpl.java:1322)
at android.app.ContextImpl.startActivity(ContextImpl.java:1309)
at android.content.ContextWrapper.startActivity(ContextWrapper.java:348)
at com.urbanairship.google.PlayServicesUtils.handleAnyPlayServicesError(PlayServicesUtils.java:95)

Intent is missing FLAG_ACTIVITY_NEW_TASK.

 

Didn't find what you were looking for?

New post

Comments

0 comments

Please sign in to leave a comment.