summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Ming-Shin Lu <lumark@google.com> 2023-01-13 08:19:01 +0000
committer Ming-Shin Lu <lumark@google.com> 2023-01-31 13:55:44 +0000
commit9053d728be57f6cd356f6113fb3e10eaa7863727 (patch)
tree175f5a7e18cc27cfa0e7a3c64d648cf16f1d3358 /libs/androidfw/FileStream.cpp
parent8165fae2c8286f1b620e47aa741980f60849a5b6 (diff)
Fix IME being shifted when the app setRequestedOrientation
Fix an edge case happens on large-screen devices that DisplayContent#updateImeParent may not be called to update IME surface parent from the activity to the display area when the app actvitity is letterboxed by 1) activity handles configChange without being relaunched by window configuration change 2) calling setRequestedOrientation to fix orientation as portrait In this case, if the activity bounds size is not suitable to attach IME surface, we need to recompute the IME surface parent in WindowState#onConfigurationChanged to make IME surface can be placed on the display area to avoid IME position being shifted by letterboxed activity. Fix: 249081451 Test: atest FlickerTests:OpenImeWindowToFixedPortraitAppTest Merged-In: I7a66fd84e4094be249714c2597706ee25938adbe Change-Id: I7a66fd84e4094be249714c2597706ee25938adbe
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions