summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorDESKTOP-3H3MR3A\eloisa <marcelofg55@gmail.com>2019-03-04 23:06:37 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2019-03-08 12:38:36 -0300
commitb22cf46fdb86fc6ca06fbba34772e4f6ff0c46d4 (patch)
tree431b9491f72849436ec2472f9a412971b40e2592 /core/os
parenta38bf5287a02238581359b548aef3170cd577a5f (diff)
Request Android record permission when needed
Diffstat (limited to 'core/os')
-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();