am 5ac62d69: Merge "Fix overlapping pages (issue 12551580)" into jb-ub-now-kermit

* commit '5ac62d6914067c48e1fcdb3f6f149532017c5803':
  Fix overlapping pages (issue 12551580)
This commit is contained in:
Adam Cohen
2014-01-17 14:34:19 -08:00
committed by Android Git Automerger
+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);
}
}