Skip to content

Commit

Permalink
[bugfix]: fix device not support error
Browse files Browse the repository at this point in the history
  • Loading branch information
tofuliu committed Jun 29, 2021
1 parent 7660d4a commit a2556c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion soter-client-sdk/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Tue May 09 20:42:37 CST 2017
VERSION_NAME_PREFIX=2.0.8
VERSION_NAME_PREFIX=2.0.9
VERSION_NAME_SUFFIX=
#VERSION_NAME_SUFFIX=-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ boolean preExecute() {
return true;
}
// All SOTER device must be at list Android 5.0, so be easy and free to add this Assert after checking SOTER support
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) {
callback(new SoterProcessAuthenticationResult(ERR_SOTER_NOT_SUPPORTED));
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ boolean preExecute() {
return true;
}
// All SOTER device must be at list Android 5.0, so be easy and free to add this Assert after checking SOTER support
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) {
callback(new SoterProcessAuthenticationResult(ERR_SOTER_NOT_SUPPORTED));
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion soter-samples/client-sample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.github.Tencent.soter:soter-wrapper:2.0.7'
implementation 'com.github.Tencent.soter:soter-wrapper:2.0.9'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'commons-io:commons-io:1.4'
}

0 comments on commit a2556c8

Please sign in to comment.