Use rotation based on PagedOrientationHandler instead of touch

Fixes: 154928106
Test: Tested overview w/ and w/o
home rotation enabled.

Change-Id: Ib7e91e51b2181824e5520ad69965ed3379302c27
This commit is contained in:
Vinit Nayak
2020-05-03 21:39:06 -07:00
parent 5c6b320057
commit bb55f9e982
7 changed files with 29 additions and 8 deletions

View File

@@ -54,6 +54,11 @@ public class SeascapePagedViewHandler extends LandscapePagedViewHandler {
return 270;
}
@Override
public int getRotation() {
return Surface.ROTATION_270;
}
@Override
public boolean isGoingUp(float displacement) {
return displacement < 0;