Fixing screen jumps when performing DnD in rtl mode

Bug: 21445825
Change-Id: Ie43d24ce9c8c08dc2c4b3e24692d497760d8cd2d
This commit is contained in:
Sunny Goyal
2015-05-28 10:06:43 -07:00
parent 5cc7af12f1
commit 2b7bf87bba

View File

@@ -731,6 +731,7 @@ public class Workspace extends PagedView
fadeAndRemoveEmptyScreen(SNAP_OFF_EMPTY_SCREEN_DURATION, FADE_EMPTY_SCREEN_DURATION,
onComplete, stripEmptyScreens);
} else {
snapToPage(getNextPage(), 0);
fadeAndRemoveEmptyScreen(0, FADE_EMPTY_SCREEN_DURATION,
onComplete, stripEmptyScreens);
}