diff options
author | shawnlin <shawnlin@google.com> | 2021-05-20 15:48:25 +0800 |
---|---|---|
committer | Shawn Lin <shawnlin@google.com> | 2021-05-20 10:21:16 +0000 |
commit | 0341dfd40ddbf20b83149d3593613e96c886f877 (patch) | |
tree | 7322281317ee7f9e6221429f1f2d7b0ff0540349 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b04a005c3f31f2444007ee2973427b31d4df7d8e (diff) |
The nav bar isn't restored when swiping an app up to home in landscape
Previously we used FadeRotateAnimationController.isTargetToken() to
determine whether the FadeRotateAnimationController is controlling the
nav bar or not.
But this method is actually to check if the system can run the rotation
animation without waiting for the given window to be drawn.
Add a new method in FadeRotateAnimationController to check whether the
window is controlled by the FadeRotateAnimationController.
Bug: 188749233
Test: manual - swipe an app in landscape to home and observe the nav bar
Change-Id: I6e79bea7d9e7e651254efe9d02b416902372f2cd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions