Permalink
Browse files

Sync with sdk version 1.0.13

Check for errors in onAnprOpened() call
  • Loading branch information...
sd-toolkit committed Feb 10, 2018
1 parent dfec577 commit 12c726e9ad1b7f22ab0db7e763cc7991d17ce2c8
@@ -19,7 +19,7 @@ android {
}
dependencies {
compile 'com.sd-toolkit.developer:anpr-sdk:1.0.12'
compile 'com.sd-toolkit.developer:anpr-sdk:1.0.13'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
@@ -48,6 +48,10 @@ public void onAnprOpened(int result,
RecognitionParams currentRecognitionParams) {
// Recognition parameters currently set in the ANPR Service
// This application does not modify any parameters and just update local copy
if (result != AnprErrors.SUCCESS) {
return;
}
mDeviceParams.copyFrom(currentDeviceParams);
mRecognitionParams.copyFrom(currentRecognitionParams);

0 comments on commit 12c726e

Please sign in to comment.