summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2023-07-24 19:40:56 +0800
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2023-08-22 02:14:17 +0000
commit93b49babc47c1b04b24ae7c34fe9d808fb7bba5a (patch)
tree2987cb0fe760d0c807edc93e7bf0d85598311e33 /libs/androidfw/ObbFile.cpp
parent0b7bdf9b18dc799a67b3c9e9fdee384b39d44bb1 (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. (cherry picked from commit aa27825aff00b69d0a77db6143c52acfa22a41a6) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:28fc69cb89c8090ea8dabbeb2ebf3b5baeedd1f1) Merged-In: I16a854d52f46d36899c826426afc5ebbcf47b586 Change-Id: I16a854d52f46d36899c826426afc5ebbcf47b586
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions