diff options
author | Allan Wang <me@allanwang.ca> | 2019-05-21 20:05:25 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-05-21 20:05:25 -0700 |
commit | a9abc039c4684b3923c9162d86551e280ab342da (patch) | |
tree | a5dd825231de245bb6ce83419a72f97452c5288e /core/src/main | |
parent | d84a4b7e709d887f46b6d7dd726d29772c11fd18 (diff) | |
download | kau-a9abc039c4684b3923c9162d86551e280ab342da.tar.gz kau-a9abc039c4684b3923c9162d86551e280ab342da.tar.bz2 kau-a9abc039c4684b3923c9162d86551e280ab342da.zip |
Remove lazy result collector
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/kotlin/ca/allanwang/kau/permissions/PermissionManager.kt | 2 |
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 |