Skip to content

Commit

Permalink
Log when identifiers are already cached
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrudu committed Nov 7, 2022
1 parent fdcf240 commit a790aa8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DeviceIdentifiersWrapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 32
versionCode 7
versionName "0.7"
versionCode 8
versionName "0.8"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public static void getSerialNumber(Context context, IDIResultCallbacks callbackI
{
if(sSerialNumber != null)
{
if(callbackInterface != null)
{
callbackInterface.onDebugStatus("Serial number already in cache.");
}
callbackInterface.onSuccess(sSerialNumber);
return;
}
Expand Down Expand Up @@ -97,6 +101,10 @@ public static void getIMEINumber(Context context, IDIResultCallbacks callbackInt
{
if(sIMEI != null)
{
if(callbackInterface != null)
{
callbackInterface.onDebugStatus("IMEI number already in cache.");
}
callbackInterface.onSuccess(sIMEI);
return;
}
Expand Down

0 comments on commit a790aa8

Please sign in to comment.