Skip to content

Commit

Permalink
Log missing permissions as error
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesmac committed Nov 7, 2024
1 parent 15cb127 commit 43af178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/main/java/network/xyo/client/hasPermission.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 43af178

Please sign in to comment.