summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Adrian Roos <roosa@google.com> 2022-01-31 18:18:09 +0100
committer Adrian Roos <roosa@google.com> 2022-02-03 14:08:56 +0000
commit92fbace14b87538b1da8b9f7496ab3584b59938a (patch)
tree59f6d36981b0448fb0ab57478d09785249c897b9 /libs/androidfw/StringPool.cpp
parent9aac3354b2fa6c0205f5802bdcfdbaa22ed9739a (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions