Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1be63da3 authored by Tiger's avatar Tiger
Browse files

Fix the logic about notifyImeHidden and removeImeSurface

This CL fixes 2 issues.

For b/263472769, this CL restores the logic in collectSourceControls,
that when a type is requested to hide, we will let its consumer know, so
that it will have a chance to notify the remote control target. Also,
when IME is not ready, we only delayed the requested visibilities for
the types ready. In this way, the client can still send the requested
visibilities and notifyImeHidden to the server in split-screen mode,
when the client doesn't have the control.

For b/263345079, this CL refines the logic about handling pending
request in ImeInsetsSourceConsumer. If there is an opposite request
against to current animation, we won't remove the IME surface when
current animation ends.

Fix: 263472769
Fix: 263345079
Test: 1. Test if IME can be hidden by API in split-screen.
      2. atest ImeOpenCloseStressTest
Change-Id: I59952623bd0914aa236bd8f421c958f167cca63d
parent 484149d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment