Merge "InputMonitor: Update name" into tm-dev am: f9ea3a5043

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17582714

Change-Id: I129728b096c5f951e4410d46ffeef5b0a6fa716f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Rob Carr
2022-04-05 17:15:15 +00:00
committed by Automerger Merge Worker

View File

@@ -249,6 +249,8 @@ final class InputMonitor {
inputWindowHandle.setPaused(w.mActivityRecord != null && w.mActivityRecord.paused);
inputWindowHandle.setWindowToken(w.mClient);
inputWindowHandle.setName(w.getName());
// Update layout params flags to force the window to be not touch modal. We do this to
// restrict the window's touchable region to the task even if it requests touches outside
// its window bounds. An example is a dialog in primary split should get touches outside its