From b887548ada588c42bcc4f2f3c957c1ce256f5292 Mon Sep 17 00:00:00 2001 From: "rajashakher.valluru" Date: Tue, 6 Aug 2019 12:54:07 +0530 Subject: [PATCH] Permission dialog --- .../src/main/java/com/runtimepermissions/PermissionsManager.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtimepermission/src/main/java/com/runtimepermissions/PermissionsManager.kt b/runtimepermission/src/main/java/com/runtimepermissions/PermissionsManager.kt index 858efe0..958363c 100644 --- a/runtimepermission/src/main/java/com/runtimepermissions/PermissionsManager.kt +++ b/runtimepermission/src/main/java/com/runtimepermissions/PermissionsManager.kt @@ -29,6 +29,8 @@ object PermissionsManager { this.callBack = callBack startPermissionActivity(context, permissions) break + }else{ + callBack.onAccepted(permissions.toCollection(ArrayList())) } } }