aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-05-21 20:05:25 -0700
committerAllan Wang <me@allanwang.ca>2019-05-21 20:05:25 -0700
commita9abc039c4684b3923c9162d86551e280ab342da (patch)
treea5dd825231de245bb6ce83419a72f97452c5288e /core/src/main/kotlin
parentd84a4b7e709d887f46b6d7dd726d29772c11fd18 (diff)
downloadkau-a9abc039c4684b3923c9162d86551e280ab342da.tar.gz
kau-a9abc039c4684b3923c9162d86551e280ab342da.tar.bz2
kau-a9abc039c4684b3923c9162d86551e280ab342da.zip
Remove lazy result collector
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r--core/src/main/kotlin/ca/allanwang/kau/permissions/PermissionManager.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/permissions/PermissionManager.kt b/core/src/main/kotlin/ca/allanwang/kau/permissions/PermissionManager.kt
index 57a6f42..669f32e 100644
--- a/core/src/main/kotlin/ca/allanwang/kau/permissions/PermissionManager.kt
+++ b/core/src/main/kotlin/ca/allanwang/kau/permissions/PermissionManager.kt
@@ -36,7 +36,7 @@ import java.lang.ref.WeakReference
internal object PermissionManager {
private var requestInProgress = false
- private val pendingResults: MutableList<WeakReference<PermissionResult>> by lazy { mutableListOf<WeakReference<PermissionResult>>() }
+ private val pendingResults = mutableListOf<WeakReference<PermissionResult>>()
/**
* Retrieve permissions requested in our manifest