From b5fbb551ce32095f2fa0dca66ebfe2981183dbaa Mon Sep 17 00:00:00 2001 From: FerdyRod Date: Thu, 19 Dec 2024 15:42:37 +0100 Subject: [PATCH] fix override params of onRequestPermissionResult --- form/src/main/java/org/dhis2/form/ui/FormView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/form/src/main/java/org/dhis2/form/ui/FormView.kt b/form/src/main/java/org/dhis2/form/ui/FormView.kt index 168992af15..9f216bb0c2 100644 --- a/form/src/main/java/org/dhis2/form/ui/FormView.kt +++ b/form/src/main/java/org/dhis2/form/ui/FormView.kt @@ -147,7 +147,7 @@ class FormView : Fragment() { override fun onRequestPermissionsResult( requestCode: Int, - permissions: Array, + permissions: Array, grantResults: IntArray, ) { if (grantResults[0] == PackageManager.PERMISSION_GRANTED) {