Skip to content
Commit e32e5c30 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent f4f5ce43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment