summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2023-07-24 19:40:56 +0800
committer Tiger Huang <tigerhuang@google.com> 2023-07-28 13:01:21 +0000
commit28fc69cb89c8090ea8dabbeb2ebf3b5baeedd1f1 (patch)
tree2a38812fe2baa51dd38fd00fcb974eff08494782 /libs/androidfw/ConfigDescription.cpp
parent12db2bc404baa7b56e11b16ee05cd323135eab60 (diff)
Only create InsetsSourceConsumer for InsetsSourceControl
Previously, the insets source consumer is only created if the insets source exists. However, if a control target is not below an insets source, the target won't receive the source, and the consumer won't be created, and the insets cannot be controlled. Also, InsetsSourceConsumer only works when the control exists. So we don't have to create redundant consumers for types not controllable. This CL only creates the insets source consumer for the control, not for the source. This fixes the z-order problem. Fix: 290884763 Bug: 234093736 Test: atest InsetsControllerTest InsetsSourceConsumerTest ImeInsetsSourceConsumerTest Test: Watch a video in Google TV. Long press an icon on taskbar before taskbar fades out. See if taskbar is visible. Merged-In: I16a854d52f46d36899c826426afc5ebbcf47b586 Change-Id: I16a854d52f46d36899c826426afc5ebbcf47b586 (cherry picked from commit aa27825aff00b69d0a77db6143c52acfa22a41a6)
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions