mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Fix error.
This commit is contained in:
parent
59c6ca8d85
commit
0a4065bb9e
@ -128,7 +128,7 @@ open class PandemoniumEditor : FullScreenPandemoniumApp() {
|
|||||||
*/
|
*/
|
||||||
protected open fun checkForProjectPermissionsToEnable() {
|
protected open fun checkForProjectPermissionsToEnable() {
|
||||||
// Check for RECORD_AUDIO permission
|
// Check for RECORD_AUDIO permission
|
||||||
val audioInputEnabled = java.lang.Boolean.parseBoolean(pandemoniumLib.getGlobal("audio/enable_audio_input"));
|
val audioInputEnabled = java.lang.Boolean.parseBoolean(PandemoniumLib.getGlobal("audio/enable_audio_input"));
|
||||||
if (audioInputEnabled) {
|
if (audioInputEnabled) {
|
||||||
PermissionsUtil.requestPermission(Manifest.permission.RECORD_AUDIO, this)
|
PermissionsUtil.requestPermission(Manifest.permission.RECORD_AUDIO, this)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user