Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Invisible activity is always created on background #45

Closed
Serchinastico opened this issue Jan 25, 2016 · 1 comment
Closed

Invisible activity is always created on background #45

Serchinastico opened this issue Jan 25, 2016 · 1 comment
Assignees

Comments

@Serchinastico
Copy link
Contributor

When asking for permissions, the invisible activity is always created, this might cause some issues if Dexter is called from the onCreate or onResume methods of your own activity (as it will force another call to onCreate & onResume once the inner activity is dismissed). We should only create the inner Activity iff ActivityCompat.requestPermissions is going to be called.

For calling checkSelfPermission we should use the provided application context.

@Serchinastico
Copy link
Contributor Author

Duplicated #47

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant