Loading packages/PrintSpooler/src/com/android/printspooler/PrintJobConfigActivity.java +4 −3 Original line number Diff line number Diff line Loading @@ -1092,7 +1092,9 @@ public class PrintJobConfigActivity extends Activity { } } //TODO: Catch the error if start is less grater than the end. // We intentionally do not catch the case of the from page being // greater than the to page. When computing the requested pages // we just swap them if necessary. mPageRangeEditText.setError(null); mPrintButton.setEnabled(true); Loading Loading @@ -1825,8 +1827,7 @@ public class PrintJobConfigActivity extends Activity { // Range options PrintDocumentInfo info = mDocument.info; if (info != null && (info.getPageCount() > 0 || info.getPageCount() == PrintDocumentInfo.PAGE_COUNT_UNKNOWN)) { if (info != null && info.getPageCount() > 0) { if (info.getPageCount() == 1) { mRangeOptionsSpinner.setEnabled(false); } else { Loading Loading
packages/PrintSpooler/src/com/android/printspooler/PrintJobConfigActivity.java +4 −3 Original line number Diff line number Diff line Loading @@ -1092,7 +1092,9 @@ public class PrintJobConfigActivity extends Activity { } } //TODO: Catch the error if start is less grater than the end. // We intentionally do not catch the case of the from page being // greater than the to page. When computing the requested pages // we just swap them if necessary. mPageRangeEditText.setError(null); mPrintButton.setEnabled(true); Loading Loading @@ -1825,8 +1827,7 @@ public class PrintJobConfigActivity extends Activity { // Range options PrintDocumentInfo info = mDocument.info; if (info != null && (info.getPageCount() > 0 || info.getPageCount() == PrintDocumentInfo.PAGE_COUNT_UNKNOWN)) { if (info != null && info.getPageCount() > 0) { if (info.getPageCount() == 1) { mRangeOptionsSpinner.setEnabled(false); } else { Loading