mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
do not check the GET_ACCOUNTS permission, we dont need it
This commit is contained in:
@ -141,13 +141,7 @@ class MainActivity : SimpleActivity() {
|
|||||||
|
|
||||||
private fun checkContactPermissions() {
|
private fun checkContactPermissions() {
|
||||||
handlePermission(PERMISSION_READ_CONTACTS) {
|
handlePermission(PERMISSION_READ_CONTACTS) {
|
||||||
if (it) {
|
initFragments()
|
||||||
handlePermission(PERMISSION_GET_ACCOUNTS) {
|
|
||||||
initFragments()
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
initFragments()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user