summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Felix Stern <fstern@google.com> 2025-03-22 01:21:22 -0700
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-04-17 20:18:50 -0700
commitaf23e219388afe04eaf7e2eb8cc3d675e15922ab (patch)
tree7d91ec3176e0e67dff2d420f4a4fbe335ef0a957 /libs/androidfw/AssetsProvider.cpp
parent4341e620bf1c066c40e4633acc65f1e897af48a0 (diff)
Only update remote target, if visibility is different from input target
When syncing the visibility of the imeInputTarget to the (RemoteInsets)ControlTarget, without having an actual change, the upcoming call to updateClientVisibility will be ignored and we don't invoke the IMMS listener. Therefore, we should only sync the visibility when it's different between imeInputTarget and controlTarget - otherwise we can directly invoke the listener. Fix: 402547338 Fix: 405296840 Flag: android.view.inputmethod.refactor_insets_controller Test: atest ImeInsetsSourceProviderTest#testUpdateControlForTarget_remoteInsetsControlTargetUnchanged Test: manual: open view where controlTarget=RemoteInsetsControlTarget; Open another fullscreen app and request IME; close new window to return to RICT (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:43624020c81c27f67beb882d4cabb6ea041a6c89) Merged-In: I96ffe688ae5eb32e325f3f7c9c62b392f7287100 Change-Id: I96ffe688ae5eb32e325f3f7c9c62b392f7287100
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions