From 43af1782dc014da50cd007e1053a6e5cfd162cab Mon Sep 17 00:00:00 2001 From: Matt Jones <885417+jonesmac@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:40:38 -0500 Subject: [PATCH] Log missing permissions as error --- sdk/src/main/java/network/xyo/client/hasPermission.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/main/java/network/xyo/client/hasPermission.kt b/sdk/src/main/java/network/xyo/client/hasPermission.kt index bdab1ad..1d89c94 100644 --- a/sdk/src/main/java/network/xyo/client/hasPermission.kt +++ b/sdk/src/main/java/network/xyo/client/hasPermission.kt @@ -11,7 +11,7 @@ fun hasPermission(context: Context, permission: String, message: String? = null) permission ) == PackageManager.PERMISSION_GRANTED if (!result && message != null) { - Log.w("xyoClientSdk", "Missing Permission: ${message}") + Log.e("xyoClientSdk", "Missing Permission: ${message}") } return result } \ No newline at end of file