mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user