From 2edf599bebb4db19e8c5b07764bec822384d2638 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 1 Aug 2022 20:19:18 +0200 Subject: [PATCH] gogio: [Android] map the wakelock permission to WAKE_LOCK Signed-off-by: Elias Naur --- gogio/permission.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gogio/permission.go b/gogio/permission.go index b22fcef..c3227ac 100644 --- a/gogio/permission.go +++ b/gogio/permission.go @@ -19,6 +19,9 @@ var AndroidPermissions = map[string][]string{ "android.permission.READ_EXTERNAL_STORAGE", "android.permission.WRITE_EXTERNAL_STORAGE", }, + "wakelock": { + "android.permission.WAKE_LOCK", + }, } var AndroidFeatures = map[string][]string{ -- 2.45.2