Don't increment seq-id for non-sync frame change
There's 2 reasons why the frame might change: 1. WM is changing it, in which case it will be in a sync when sync is required. 2. Client requests relayout for position+size change, in which case, it will trigger a BLAST sync. In both cases, the presence of sync will already increment the seqId, so incrementing on frame-size alone is redundant and actually triggers false-positives. This also means we need to tell the client not to draw when a sync started in response to a relayout. Once the sync actually starts, WM will send the latest layout info via reportResized. Bug: 435801229 Bug: 385976595 Test: Existing Tests Flag: com.android.window.flags.always_seq_id_layout Change-Id: Ied495ce48eb983873b6d126aafa2c9bb937f2b61
Loading
Please register or sign in to comment