diff options
author | Winson Chung <winsonc@google.com> | 2019-07-16 14:52:13 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2019-07-23 15:50:33 -0700 |
commit | 7a545ae9ccfd516a603f83da894658a7b3a8008b (patch) | |
tree | 2d1e6a4701046662c0b5a03c70cecb55e50a7c84 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1051afbb38a19400e3b6faa0ac09ccfeb76071d6 (diff) |
Modify deferred recents animation cancel to work without screenshot
- Allow the recents animation runner to request deferring a cancel from
stack order change until the next app transition start without using
a screenshot. This allows launcher to set this state, then start an
activity without a flash due to the animation not finishing immediately
- Always prepare a transition when using the deferred cancel to ensure
an app transition callback
- Handle app transition canceled as well (if canceled, we continue to
cancel recents the animation with/without the screenshot as requested)
- Remove internal lock and use the global WM lock when setting the defer
cancel state
- Renamed a few methods to clarify the deferred cancel flow
Bug: 137196872
Test: atest FrameworksServicesTests:RecentsAnimationControllerTest
Test: atest WmTests:RecentsAnimationTest
Change-Id: Ie8f6f60b6bf6777e36f24749b30f90c8c26ee848
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions