Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

permissions for android 10+, default subscription id, refactor #96

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bartguz
Copy link

@bartguz bartguz commented Nov 9, 2021

based on kitrio branch, fix for permission issues on android 10+.

READ_PHONE_STATE is not enough to access full data, additional READ_PHONE_NUMBERS is required. Permissions got refactored into array, which should allow for easier modifications.

I've refactored code a bit - created grouping methods that may slightly better describe what is where accessed, and reduced nesting here and there.

alborrajo's default subscription id is included, but on condition getActiveSubscriptionInfoList returns non-empy list. I've included this change here, because my PR changes code a bit and merging would be tricky

bartguz and others added 3 commits November 9, 2021 01:11
default subscription id
additional permissions
slight refactor:
- reduced nesting
- slightly more descriptive methods
- grouped by permission and data level
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant