This commit is contained in:
r-ca 2024-01-29 04:13:59 +09:00
parent 3c75a04a5f
commit b0a0682561
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -58,7 +58,7 @@ public class ScannerManagerActivity extends AppCompatActivity {
private ArrayList<Bitmap> croppedImages = new ArrayList<>(); private ArrayList<Bitmap> croppedImages = new ArrayList<>();
private int maxPage = 0; private int maxPage = 0;
private boolean singlePage = false; private boolean withOutLimit = false;
View view; View view;
@ -86,7 +86,7 @@ public class ScannerManagerActivity extends AppCompatActivity {
}, },
null, null,
null, null,
singlePage ? 1 : maxPage withOutLimit ? null : maxPage
); );
@Override @Override
@ -121,7 +121,7 @@ public class ScannerManagerActivity extends AppCompatActivity {
Bundle bundle = intent.getExtras(); Bundle bundle = intent.getExtras();
if (bundle != null) { if (bundle != null) {
this.maxPage = bundle.getInt("maxPage", 0); this.maxPage = bundle.getInt("maxPage", 0);
this.singlePage = bundle.getBoolean("singlePage", false); this.withOutLimit = bundle.getBoolean("withOutLimit", false);
} }
} }