Skip to content

Commit a790aa8

Browse files
committed
Log when identifiers are already cached
1 parent fdcf240 commit a790aa8

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

DeviceIdentifiersWrapper/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
defaultConfig {
99
minSdkVersion 19
1010
targetSdkVersion 32
11-
versionCode 7
12-
versionName "0.7"
11+
versionCode 8
12+
versionName "0.8"
1313

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

DeviceIdentifiersWrapper/src/main/java/com/zebra/deviceidentifierswrapper/DIHelper.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ public static void getSerialNumber(Context context, IDIResultCallbacks callbackI
4343
{
4444
if(sSerialNumber != null)
4545
{
46+
if(callbackInterface != null)
47+
{
48+
callbackInterface.onDebugStatus("Serial number already in cache.");
49+
}
4650
callbackInterface.onSuccess(sSerialNumber);
4751
return;
4852
}
@@ -97,6 +101,10 @@ public static void getIMEINumber(Context context, IDIResultCallbacks callbackInt
97101
{
98102
if(sIMEI != null)
99103
{
104+
if(callbackInterface != null)
105+
{
106+
callbackInterface.onDebugStatus("IMEI number already in cache.");
107+
}
100108
callbackInterface.onSuccess(sIMEI);
101109
return;
102110
}

0 commit comments

Comments
 (0)