Fix fallbackIMM#showSoftInput call

Previously calls to fallbackIMM#showSoftInput would drop the statsToken
and reason, as they would call a different variant of the function.

This fixes it to ensure no statsToken can timeout in this case.

Test: n/a
Bug: 294992637
Change-Id: Ib6b1c0c1822be5de6b246a6c662d1d93ff4a0331
This commit is contained in:
Cosmin Băieș
2023-08-08 15:52:02 +02:00
parent 8aef12b550
commit 3498e5398f

View File

@@ -2165,7 +2165,7 @@ public final class InputMethodManager {
// Re-dispatch if there is a context mismatch.
final InputMethodManager fallbackImm = getFallbackInputMethodManagerIfNecessary(view);
if (fallbackImm != null) {
return fallbackImm.showSoftInput(view, flags, resultReceiver);
return fallbackImm.showSoftInput(view, statsToken, flags, resultReceiver, reason);
}
checkFocus();