From 008838555620261b25a4df7a814cc789ec4a4ad3 Mon Sep 17 00:00:00 2001 From: Cagdas Date: Sun, 6 Oct 2019 21:17:44 +0300 Subject: Add request permission automatically at android --- platform/android/java_godot_wrapper.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'platform/android/java_godot_wrapper.h') diff --git a/platform/android/java_godot_wrapper.h b/platform/android/java_godot_wrapper.h index b1bd9b7f48..d23ff273cb 100644 --- a/platform/android/java_godot_wrapper.h +++ b/platform/android/java_godot_wrapper.h @@ -54,6 +54,8 @@ private: jmethodID _get_clipboard = 0; jmethodID _set_clipboard = 0; jmethodID _request_permission = 0; + jmethodID _request_permissions = 0; + jmethodID _get_granted_permissions = 0; jmethodID _init_input_devices = 0; jmethodID _get_surface = 0; jmethodID _is_activity_resumed = 0; @@ -81,6 +83,8 @@ public: bool has_set_clipboard(); void set_clipboard(const String &p_text); bool request_permission(const String &p_name); + bool request_permissions(); + Vector get_granted_permissions() const; void init_input_devices(); jobject get_surface(); bool is_activity_resumed(); -- cgit v1.2.3