Browse Source

Android: Fix version checks around setImeConsumesInput()

v7.0.9
reuk 2 years ago
parent
commit
ad59f71b99
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
2 changed files with 763 additions and 765 deletions
  1. +3
    -3
      modules/juce_gui_basics/native/java/app/com/rmsl/juce/ComponentPeerView.java
  2. +760
    -762
      modules/juce_gui_basics/native/juce_Windowing_android.cpp

+ 3
- 3
modules/juce_gui_basics/native/java/app/com/rmsl/juce/ComponentPeerView.java View File

@@ -715,13 +715,13 @@ public final class ComponentPeerView extends ViewGroup
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
{
super.closeConnection();
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.S)
setImeConsumesInput (false);
}
else
{
finishComposingText();
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.S)
setImeConsumesInput (false);
}
}


+ 760
- 762
modules/juce_gui_basics/native/juce_Windowing_android.cpp
File diff suppressed because it is too large
View File


Loading…
Cancel
Save