Restore 'Toggle fullscreen' menu for the Android editor and clean up the immersive mode logic
This commit is contained in:
parent
e439154407
commit
923b0f2e56
9 changed files with 128 additions and 57 deletions
|
|
@ -77,6 +77,8 @@ private:
|
|||
jmethodID _has_feature = nullptr;
|
||||
jmethodID _sign_apk = nullptr;
|
||||
jmethodID _verify_apk = nullptr;
|
||||
jmethodID _enable_immersive_mode = nullptr;
|
||||
jmethodID _is_in_immersive_mode = nullptr;
|
||||
|
||||
public:
|
||||
GodotJavaWrapper(JNIEnv *p_env, jobject p_activity, jobject p_godot_instance);
|
||||
|
|
@ -122,6 +124,9 @@ public:
|
|||
// Sign and verify apks
|
||||
Error sign_apk(const String &p_input_path, const String &p_output_path, const String &p_keystore_path, const String &p_keystore_user, const String &p_keystore_password);
|
||||
Error verify_apk(const String &p_apk_path);
|
||||
|
||||
void enable_immersive_mode(bool p_enabled);
|
||||
bool is_in_immersive_mode();
|
||||
};
|
||||
|
||||
#endif // JAVA_GODOT_WRAPPER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue