diff options
author | Nick Chameyev <nickchameyev@google.com> | 2021-09-27 10:23:33 +0000 |
---|---|---|
committer | Nick Chameyev <nickchameyev@google.com> | 2021-10-15 12:55:16 +0000 |
commit | c055dbb324611aa81e3357870913df9678623d54 (patch) | |
tree | fab6fb196a801e79abff558bedf90436d390632f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d8b856ceae2bd7459861bac5a4116a8e46897438 (diff) |
Synchronize screen turning on and unfold overlay
Changes unfold overlay implementation from a window
to surface control view host. To make sure that the
unfold overlay is drawn by the time when we remove
screen blocker we synchronously apply a transaction
with drawn overlay and apply another empty transaction
with vsyncId+1.
Also these changes disable the unfold transition when
using power button by filtering only first screen turning
on events after unfolding the device.
Bug: 197538198
Test: manual fold/unfolds
Test: killing SysUI process, checking rotation animation, magnification
Test: atest com.android.systemui.unfold.updates.DeviceFoldStateProviderTest
Change-Id: I8e0bc635b041595602145b313548b14fcabd157e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions