aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/main/kotlin/ca/allanwang/kau/permissions/PermissionManager.kt6
-rw-r--r--docs/Changelog.md1
-rw-r--r--gradle.properties2
3 files changed, 5 insertions, 4 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 0c42574..5fe0ddf 100644
--- a/core/src/main/kotlin/ca/allanwang/kau/permissions/PermissionManager.kt
+++ b/core/src/main/kotlin/ca/allanwang/kau/permissions/PermissionManager.kt
@@ -53,12 +53,12 @@ internal object PermissionManager {
}
}
val activity = (context as? Activity) ?: throw KauException("Context is not an instance of an activity; cannot request permissions")
- KL.d("Requesting permissions ${permissions.contentToString()}")
+ KL.i("Requesting permissions ${permissions.contentToString()}")
ActivityCompat.requestPermissions(activity, permissions, 1)
}
fun onRequestPermissionsResult(context: Context, permissions: Array<out String>, grantResults: IntArray) {
- KL.d("On permission result: pending ${pendingResults.size}")
+ KL.i("On permission result: pending ${pendingResults.size}")
val count = Math.min(permissions.size, grantResults.size)
val iter = pendingResults.iterator()
while (iter.hasNext()) {
@@ -77,7 +77,7 @@ internal object PermissionManager {
}
requestPermissions(context, action.permissions.toTypedArray())
}
- KL.d("Post on permission result: pending ${pendingResults.size}")
+ KL.i("Post on permission result: pending ${pendingResults.size}")
}
} \ No newline at end of file
diff --git a/docs/Changelog.md b/docs/Changelog.md
index fb7aeac..e20540f 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -2,6 +2,7 @@
## v3.3.2
* :kpref-activity: Add visibility toggle to Core contract. Items can override this to show/hide given preferences based on boolean callbacks.
+* :kpref-activity: Add width constraint for long text items
## v3.3.1
* :core: Open up all logger functions
diff --git a/gradle.properties b/gradle.properties
index baaf801..c0d946e 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -25,7 +25,7 @@ ANDROID_SUPPORT_LIBS=26.0.0
VERSION_NAME=3.3.3
-KOTLIN=1.1.4
+KOTLIN=1.1.4-2
ABOUT_LIBRARIES=5.9.7
ANKO=0.10.1
BLURRY=2.1.1