summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alex Stetson <alexstetson@google.com> 2022-05-09 12:20:27 -0700
committer Alex Stetson <alexstetson@google.com> 2022-05-10 19:12:28 +0000
commit2bc2551b9107a546054929a0a55991610618eac7 (patch)
treed661abc0c4374a10c7e8c6a8135b228fee015d27
parent4d72ee1293b64aff418d13eaa859ab0ab07fd060 (diff)
Expose IME inset source control for testing
Bug: 229256359 Test: atest DisplaySystemBarsControllerTest Change-Id: Ia16438d6e9968baf8f29ab2527565557cc671487
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayImeController.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayImeController.java b/libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayImeController.java
index 3b83f1586d8c..6a2acf438302 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayImeController.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayImeController.java
@@ -498,6 +498,11 @@ public class DisplayImeController implements DisplayController.OnDisplaysChanged
dispatchVisibilityChanged(mDisplayId, isShowing);
}
}
+
+ @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE)
+ public InsetsSourceControl getImeSourceControl() {
+ return mImeSourceControl;
+ }
}
void removeImeSurface() {