Send InsetsState to the client via IWindow#resized
In some cases, the InsetsState and the window frame can be changed at the same time (such as orientation changed). Reporting them separately might produce incorrect insets. When the window layout is moved to the client, it uses the configuration and the InsetsState to compute the window frame. They need to be reported together as well. Bug: 161810301 Bug: 160732586 Test: atest ActivityRecordTests WindowStateTests Test: Add logs to check if we dispatch the correct insets to apps while rotating the display. Change-Id: I5c9f628eda40932def97c5caf968cb62db128e80
Loading
Please register or sign in to comment