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
Loading
Please register or sign in to comment