diff options
author | 2023-06-08 22:57:54 +0800 | |
---|---|---|
committer | 2023-06-08 23:16:30 +0800 | |
commit | e32e5c3041540d02ec052e33ceabad33c83f8f39 (patch) | |
tree | 8c9bae61d5ebe7d2a5d4a8abd4746b2dfd639e36 /api/api_test.go | |
parent | f4f5ce437c9718f4cf898fe3d00e51ce85a75b13 (diff) |
Use seamless rotation if navigation bar allows
This aligns partial behavior of [1]. Though the getUpsideDownRotation
is no longer accurate because the default rotation of display can
be customized.
However, since navigation bar defines the allow-seamless config [2]
for large screen, it is enough to apply seamless rotation for both
gesture and 3-button navigation on large screen.
[1]: I9165f44b42fd058cb52753ecdf3cb98789c675d2
[2]: I3fbf4d8c8fa477746abd18fd40ad65f55dc14d8f
Fix: 286306717
Test: atest ShellTransitionTests#testShouldRotateSeamlessly
Change-Id: I856111ef4bf7aa052c03f7ef3cd7135ffdf46572
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions