Karumi / Dexter

Android library that simplifies the process of requesting permissions at runtime.
http://karumi.com
Apache License 2.0
5.23k stars 671 forks source link

Fix duplicated permission report #275

Closed pedrovgs closed 3 years ago

pedrovgs commented 3 years ago

:pushpin: References

:tophat: What is the goal?

Fix an error related to the permission reports being duplicated under some circumstances.

:memo: How is it being implemented?

We've just updated MultiplePermissionsReport to use a Set instead of a List so we do not duplicate the reported permissions when handling the same set of permissions consecutively. Last but not least, we've added coverage.

:robot: How can it be tested?

🤖