diff --git a/app/src/org/commcare/activities/DispatchActivity.java b/app/src/org/commcare/activities/DispatchActivity.java index add1a52a14..b9dcfe56c6 100644 --- a/app/src/org/commcare/activities/DispatchActivity.java +++ b/app/src/org/commcare/activities/DispatchActivity.java @@ -207,7 +207,7 @@ private boolean needAnotherAppLogin() { if (sesssionEndpointAppID != null) { CommCareApp currentApp = CommCareApplication.instance().getCurrentApp(); if (currentApp != null) { - return !currentApp.getUniqueId().contentEquals(sesssionEndpointAppID); + return !currentApp.getUniqueId().equals(sesssionEndpointAppID); } } return false; diff --git a/app/src/org/commcare/activities/LoginActivityUIController.java b/app/src/org/commcare/activities/LoginActivityUIController.java index 6bcc5a4883..e955a7721a 100644 --- a/app/src/org/commcare/activities/LoginActivityUIController.java +++ b/app/src/org/commcare/activities/LoginActivityUIController.java @@ -233,7 +233,7 @@ private ApplicationRecord getPresetAppRecord(ArrayList readyA String presetAppId = activity.getPresetAppID(); if (presetAppId != null) { for (ApplicationRecord readyApp : readyApps) { - if (readyApp.getUniqueId().contentEquals(presetAppId)) { + if (readyApp.getUniqueId().equals(presetAppId)) { return readyApp; } }