mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Android: Set fullscreen peers as content views, instead of floating windows
This is intended to fix an issue when running Android 33 or 34 in desktop/windowing mode.
This commit is contained in:
parent
5eaa1a9c55
commit
5298225ee7
2 changed files with 104 additions and 29 deletions
|
|
@ -350,6 +350,7 @@ DECLARE_JNI_CLASS (AndroidContext, "android/content/Context")
|
|||
METHOD (startActivityForResult, "startActivityForResult", "(Landroid/content/Intent;I)V") \
|
||||
METHOD (getFragmentManager, "getFragmentManager", "()Landroid/app/FragmentManager;") \
|
||||
METHOD (setContentView, "setContentView", "(Landroid/view/View;)V") \
|
||||
METHOD (addContentView, "addContentView", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V") \
|
||||
METHOD (getActionBar, "getActionBar", "()Landroid/app/ActionBar;") \
|
||||
METHOD (getWindow, "getWindow", "()Landroid/view/Window;") \
|
||||
METHOD (isInMultiWindowMode, "isInMultiWindowMode", "()Z") \
|
||||
|
|
@ -679,7 +680,8 @@ DECLARE_JNI_CLASS (AndroidWindow, "android/view/Window")
|
|||
#undef JNI_CLASS_MEMBERS
|
||||
|
||||
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK) \
|
||||
METHOD (getDefaultDisplay, "getDefaultDisplay", "()Landroid/view/Display;")
|
||||
METHOD (getDefaultDisplay, "getDefaultDisplay", "()Landroid/view/Display;") \
|
||||
METHOD (removeViewImmediate, "removeViewImmediate", "(Landroid/view/View;)V") \
|
||||
|
||||
DECLARE_JNI_CLASS (AndroidWindowManager, "android/view/WindowManager")
|
||||
#undef JNI_CLASS_MEMBERS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue