Skip to content

Commit 7a4d70c

Browse files
committed
Replace deprecated settings constructors
1 parent 402a898 commit 7a4d70c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/appliedrec/idcapturesample/IDCaptureIntroActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected void onLeftButtonClick() {
2929
@Override
3030
protected void onRightButtonClick() {
3131
if (settings == null) {
32-
settings = new VerIDIDCaptureSettings((IDDocument)null, false, false, true);
32+
settings = new VerIDIDCaptureSettings((IDDocument)null, false, false);
3333
}
3434
Intent intent = new VerIDIDCaptureIntent(this, settings);
3535
intent.putExtras(getIntent());

src/main/java/com/appliedrec/idcapturesample/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected void onCreate(final Bundle savedInstanceState) {
7474
public void onClick(View v) {
7575
// Start the ID card scan
7676
verIDSessionResult = null;
77-
VerIDIDCaptureSettings settings = new VerIDIDCaptureSettings((IDDocument)null, true, true, true);
77+
VerIDIDCaptureSettings settings = new VerIDIDCaptureSettings((IDDocument)null, true, true);
7878
Intent intent = new VerIDIDCaptureIntent(MainActivity.this, verID, settings);
7979
startActivityForResult(intent, REQUEST_CODE_CARD);
8080
}

0 commit comments

Comments
 (0)