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

Skip to content
Commit 92fbace1 authored by Adrian Roos's avatar Adrian Roos
Browse files

Fix IMS window visibility

Fixes an issue with IMS window visibility, where an unfortunate timing
of removeImeSurface() and showWindow() could result in the window being
hidden without resetting mDecorViewVisible.

Root cause is the scheduled removeImeSurface() not being cancelled in
all code paths that end up calling showWindow().

To avoid this we
- consolidate calls to cancelImeSurfaceRemoval
  and applyVisibilityInInsetsConsumerIfNecessary into showWindow()
- inline the now unnecessary doHideWindow
- unconditionally call mWindow.show() in showWindow, since View.java
  already avoids unnecessary work if the decor visibility won't change

Fixes: 203137087
Test: manual
Change-Id: Iaef9efd4f1a89fe6da27fc6396b62ff3b4ca11f4
parent 9aac3354
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