|
|
@ -3320,8 +3320,13 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
EntityIdentity identity = (EntityIdentity) spIdentity.getSelectedItem();
|
|
|
|
EntityIdentity identity = (EntityIdentity) spIdentity.getSelectedItem();
|
|
|
|
|
|
|
|
|
|
|
|
View focus = view.findFocus();
|
|
|
|
View focus = view.findFocus();
|
|
|
|
boolean ime = (Build.VERSION.SDK_INT < Build.VERSION_CODES.R ||
|
|
|
|
boolean ime = true;
|
|
|
|
view.getRootWindowInsets().isVisible(WindowInsetsCompat.Type.ime()));
|
|
|
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R)
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
ime = view.getRootWindowInsets().isVisible(WindowInsetsCompat.Type.ime());
|
|
|
|
|
|
|
|
}catch (Throwable ex){
|
|
|
|
|
|
|
|
Log.e(ex);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Workaround underlines left by Android
|
|
|
|
// Workaround underlines left by Android
|
|
|
|
etBody.clearComposingText();
|
|
|
|
etBody.clearComposingText();
|
|
|
|