diff options
| author | 2024-04-27 01:36:26 +0200 | |
|---|---|---|
| committer | 2024-04-27 01:39:52 +0200 | |
| commit | 7763fbf2cf979498c48464ab2217a5504a24c12a (patch) | |
| tree | 2a202cbb3c8e0ac7481d4ba38d8b125043f3bf20 | |
| parent | 41f79f5568fe42613d75b2797043b163cee4da81 (diff) | |
Fix IME TestActivities for edge-to-edge
This fixes the IME test activities to properly handle being displayed in
edge-to-edge mode.
Fix: 309578419
Test: atest AutoShowTest ImeOpenCloseStressTest DefaultImeVisibilityTest
Change-Id: I42d93071c7465c9bc41be92c0ddddfa55a0bb1a3
| -rw-r--r-- | tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ImeStressTestUtil.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ImeStressTestUtil.java b/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ImeStressTestUtil.java index c0c60eff0f9f..d03338909bb7 100644 --- a/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ImeStressTestUtil.java +++ b/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ImeStressTestUtil.java @@ -393,6 +393,7 @@ public final class ImeStressTestUtil { mEditText.setFocusableInTouchMode(false); } rootView.addView(mEditText, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); + rootView.setFitsSystemWindows(true); setContentView(rootView); if (requestFocus) { |