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() {
|
||||
handlePermission(PERMISSION_READ_CONTACTS) {
|
||||
if (it) {
|
||||
handlePermission(PERMISSION_GET_ACCOUNTS) {
|
||||
initFragments()
|
||||
}
|
||||
} else {
|
||||
initFragments()
|
||||
}
|
||||
initFragments()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user