diff --git a/.idea/misc.xml b/.idea/misc.xml index fa51d7d..b31a4ac 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/DeviceIdentifiersWrapper/build.gradle b/DeviceIdentifiersWrapper/build.gradle index e19c4b0..dabd858 100644 --- a/DeviceIdentifiersWrapper/build.gradle +++ b/DeviceIdentifiersWrapper/build.gradle @@ -8,8 +8,8 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 33 - versionCode 9 - versionName "0.9" + versionCode 10 + versionName "0.9.1" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' diff --git a/DeviceIdentifiersWrapper/src/main/java/com/zebra/deviceidentifierswrapper/DIProfileManagerCommand.java b/DeviceIdentifiersWrapper/src/main/java/com/zebra/deviceidentifierswrapper/DIProfileManagerCommand.java index 661d88e..3075738 100644 --- a/DeviceIdentifiersWrapper/src/main/java/com/zebra/deviceidentifierswrapper/DIProfileManagerCommand.java +++ b/DeviceIdentifiersWrapper/src/main/java/com/zebra/deviceidentifierswrapper/DIProfileManagerCommand.java @@ -65,6 +65,7 @@ public class ErrorHolder public void onStatus(EMDKManager.StatusData statusData, EMDKBase emdkBase) { if(statusData.getResult() == EMDKResults.STATUS_CODE.SUCCESS) { + logMessage("Profile manager retrieved.", EMessageType.DEBUG); onProfileManagerInitialized((ProfileManager)emdkBase); } else @@ -188,6 +189,7 @@ private void onEMDKManagerRetrieved(EMDKManager emdkManager) if(mProfileManager == null) { try { + logMessage("Requesting profile manager.", EMessageType.DEBUG); emdkManager.getInstanceAsync(EMDKManager.FEATURE_TYPE.PROFILE, mStatusListener); } catch (EMDKException e) { logMessage("Error when trying to retrieve profile manager: " + e.getMessage(), EMessageType.ERROR); @@ -226,7 +228,7 @@ private void onProfileManagerInitialized(ProfileManager profileManager) { mProfileManager = profileManager; bInitializing = false; - logMessage("Profile Manager retrieved.", EMessageType.DEBUG); + logMessage("Processing MX Content", EMessageType.DEBUG); processMXContent(); } @@ -263,6 +265,7 @@ private void processMXContent() String[] params = new String[1]; params[0] = msProfileData; + logMessage("Processing profile :" + msProfileData, EMessageType.VERBOSE); EMDKResults results = mProfileManager.processProfile(msProfileName, ProfileManager.PROFILE_FLAG.SET, params); //Check the return status of processProfile