summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2022-01-15 21:20:49 -0800
committer Rob Carr <racarr@google.com> 2022-01-18 01:58:36 +0000
commit47857a0a8b1b0d70416eadbcb11a683f64088b13 (patch)
tree49f8f7ae8befa9ffc85282a05c6c0973dfbf51b6 /libs/androidfw/StringPool.cpp
parent87945271bd6bf3d48eb7f0f43698eae3ab166e64 (diff)
WindowManager: Support focus for SurfacePackage overlays
We already support granting focus to SurfaceControlViewHost embedded windows. In the normal path where the SurfacePackage is embedded in a client view hierarchy, we rely on the client to invoke grantEmbeddedWindowFocus(true/false) as the SurfaceView hosting the SurfacePackage moves in and out of focus according to client side state. For server hosted overlays, we can reuse grantEmbeddedWindowFocus but we need someone to call it. To accomplish this we reorganize the logic in handlePointerDownOutsideFocus to work in terms of InputTarget instead of WindowState, and graft in the appropriate logic for EmbeddedWindows inside EmbeddedWindowController.java. Bug: 214239638 Test: Existing tests pass Change-Id: Ie91b8cf790b4ab2092a90e310e7bd200a4adcff4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions