summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseSetArray.java
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2022-03-28 16:11:02 +0800
committerTiger Huang <tigerhuang@google.com>2022-03-28 16:11:02 +0800
commit552e7363915e9fd1e45e159c24198277826b1b72 (patch)
treec79f067844136ff9ed9e42b14a6ef001a1ba4e2b /core/java/android/util/SparseSetArray.java
parent923eb82c53758c6634420e5cb813c3776c7e5bd3 (diff)
Send up-to-date InsetsState to the client after rotation
When LOCAL_LAYOUT is enabled, clients compute the window frames on their own. However, for windows which provide insets, the server computes the window frames for updating the InsetsState. In this way, all the clients can receive the up-to-date InsetsState after rotation before the clients of insets source windows report their frames. Before LOCAL_LAYOUT is enabled, the server would layout all the windows after rotation. So the clients receive the up-to-date InsetsStates as well. The logic remains the same in this CL. Bug: 161810301 Bug: 175861127 Test: Perform fixed rotation, seamless rotation, and regular rotation. See if there is anything unexpected. Change-Id: I23246f363d5d9ef974a4f7a64041bc9d56042ade
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions