デバッグ処理実装

This commit is contained in:
r-ca 2024-01-08 15:11:28 +09:00
parent 6d6f4790a0
commit 080e86d05d
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -180,10 +180,12 @@ public class ScannerDataManagerStubFragment extends Fragment {
Toast.makeText(getActivity(), "documentProcessor is null", Toast.LENGTH_LONG).show(); Toast.makeText(getActivity(), "documentProcessor is null", Toast.LENGTH_LONG).show();
return; return;
} }
Bitmap[] bitmaps = new Bitmap[results.size()];
for (CapturedData capturedData : this.results) { for (int i = 0; i < results.size(); i++) {
this.documentProcessor.addNewPageToLast(capturedData.getBitmap()); bitmaps[i] = results.get(i).getBitmap();
} }
this.documentProcessor.addNewPagesToLast(bitmaps);
}); });
} }