commit | fa12303927a45a09c868db0468581a70af9252f0 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Thu Apr 25 17:11:40 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Apr 25 17:11:40 2024 +0000 |
tree | dbe7b2e6080de1ffc1e9dd94c1d4d3562dd3f7eb | |
parent | 96d1428c5023e4b3585d4ba2f6a04a3b422f3f87 [diff] | |
parent | 31f65e72cbb97cd9d2da65936c46472736b1cb2e [diff] |
Merge "Make the content view of TestActivity fit system window insets" into main
diff --git a/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/TestActivity.java b/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/TestActivity.java index 73b4501..37b05ff 100644 --- a/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/TestActivity.java +++ b/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/TestActivity.java
@@ -77,6 +77,7 @@ mEditText = new EditText(this); mEditText.setContentDescription("Input box"); rootView.addView(mEditText, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); + rootView.setFitsSystemWindows(true); setContentView(rootView); mEditText.requestFocus(); sLastCreatedInstance = new WeakReference<>(this);