summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-09-19 12:04:41 -0700
committerJohn Hoford <hoford@google.com>2013-09-19 12:04:41 -0700
commit962cf04c60249c2d116f9ee07e747180bee46014 (patch)
treeacd0c58bc0ceba633163df5ec95212c197553460
parentcdd4b82b85f5e134b3357e75d735c5faeada70c9 (diff)
downloadandroid_packages_apps_Gallery2-962cf04c60249c2d116f9ee07e747180bee46014.tar.gz
android_packages_apps_Gallery2-962cf04c60249c2d116f9ee07e747180bee46014.tar.bz2
android_packages_apps_Gallery2-962cf04c60249c2d116f9ee07e747180bee46014.zip
change the max print resolution
Change-Id: Ie2cc1c3f40675ae163438c9b09f26e4ac1881367
-rw-r--r--src/com/android/gallery3d/util/PrintJob.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/util/PrintJob.java b/src/com/android/gallery3d/util/PrintJob.java
index f0e6d5251..e2e345dfd 100644
--- a/src/com/android/gallery3d/util/PrintJob.java
+++ b/src/com/android/gallery3d/util/PrintJob.java
@@ -38,7 +38,9 @@ import java.io.FileOutputStream;
import java.io.IOException;
public class PrintJob {
- private final static int MAX_PRINT_SIZE = 2048;
+ // will be <= 300 dpi on A4 (8.3×11.7) paper
+ // with a worst case of 150 dpi
+ private final static int MAX_PRINT_SIZE = 3500;
public static void printBitmap(final Context context, final String jobName,
final Bitmap bitmap) {