Skip to content

Commit

Permalink
Added: More logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrudu committed Oct 5, 2023
1 parent f99f5ca commit 56d9b48
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 33
versionCode 9
versionName "0.9"
versionCode 10
versionName "0.9.1"

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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();
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 56d9b48

Please sign in to comment.