Merge "Fix overlapping pages (issue 12551580)" into jb-ub-now-kermit

This commit is contained in:
Adam Cohen
2014-01-17 22:32:21 +00:00
committed by Android (Google) Code Review
+1 -1
View File
@@ -557,7 +557,7 @@ public class DeviceProfile {
// In portrait, we want the pages spaced such that there is no
// overhang of the previous / next page into the current page viewport.
// We assume symmetrical padding in portrait mode.
return 2 * getWorkspacePadding().left;
return Math.max(defaultPageSpacingPx, 2 * getWorkspacePadding().left);
}
}