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 committed 2020-05-04 11:58:11 -07:00
1 parent 5c6b320057
commit bb55f9e982
7 files changed
+29 -8

No files matched your search

@@ -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;