summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Vladimir Komsiyski <vladokom@google.com> 2022-11-01 15:22:43 +0100
committer Vladimir Komsiyski <vladokom@google.com> 2022-11-29 14:20:40 +0100
commit702275586ee65ecdb5f906ba3d814005b545d8a8 (patch)
tree8ca295a159f9f5cd1ef1eeb78c1f7e56378edb5d /libs/androidfw/AssetsProvider.cpp
parentcd8f20471701806c380b01ee1e732a981d9d7cc1 (diff)
Add a display flag for maintaining its own focus and touch mode.
This basically duplicates the behavior of config_perDisplayFocusEnabled but via a display flag instead of globally for all displays. The display must be trusted for the new flag to be set. This is particularly needed for virtual devices and displays with navigation-type inputs, for which touching the default display will cause everything to enter touch mode and therefore the currently focused view would lose focus. Bug: 233911853 Bug: 256810557 Test: atest DisplayManagerServiceTest Test: atest WindowManagerServiceTests Change-Id: Ie1c3b8a42f512530bf0ce3fabc56f0da236a311c
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions