summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Brett Chabot <brettchabot@google.com> 2022-08-25 14:34:42 -0700
committer Brett Chabot <brettchabot@google.com> 2022-09-16 11:19:02 -0700
commit32dfc9838243cb1a20f2262864fb884b536eb58e (patch)
tree389ac183c1db7bb935f2914b1bffb8785829e3b9 /libs/androidfw/ResourceTimer.cpp
parent3226bed7fd11c2b8a7c77bb1787f936f641bf524 (diff)
Fix input when hardware renderer drawing is disabled.
When drawing is disabled the window's layer won't have a valid buffer. This causes surfaceflinger to set the window's touchableRegion to zero. This commit sets a window crop when drawing is disabled, so surfaceflinger set touchableregion from crop instead of buffer. And it modifies LetterboxUiController to not reset the crop. Test: cts and perf tests as documented in go/android-slimulator-dev-env Bug: 229870984 Change-Id: I4d6ca513c3daf5818ded03eae00e551fc319ad69
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions