summaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-03-08 18:22:38 +0100
committerGitHub <noreply@github.com>2019-03-08 18:22:38 +0100
commit60d910b1916305c4b0ac5f92415083995b4f7c7a (patch)
treecfa73123ed9b160c2426771d73d41ef2cbaf7d4d /core/os/os.h
parent95c6d9cabace69901bc8e7f93ad611577fe89b74 (diff)
parentb22cf46fdb86fc6ca06fbba34772e4f6ff0c46d4 (diff)
Merge pull request #26756 from marcelofg55/android_rec_perm
Request Android record permission when needed
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index ebfe7d20dc..d02d5a2c84 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -518,6 +518,8 @@ public:
bool is_restart_on_exit_set() const;
List<String> get_restart_on_exit_arguments() const;
+ virtual bool request_permission(const String &p_name) { return true; }
+
virtual void process_and_drop_events() {}
OS();
virtual ~OS();