Skip to content

Commit

Permalink
fix(android): string reference equality in service
Browse files Browse the repository at this point in the history
Fixes TIMOB-27948
  • Loading branch information
jquick-axway authored and sgtcoolguy committed Oct 8, 2020
1 parent d98ddb9 commit 5ba35d3
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ protected void executeServiceCode(ServiceProxy proxy)
if (!fullUrl.contains("://") && !fullUrl.startsWith("/") && proxy.getCreationUrl().baseUrl != null) {
fullUrl = proxy.getCreationUrl().baseUrl + fullUrl;
}

if (Log.isDebugModeEnabled()) {
if (url != fullUrl) {
Log.d(TAG, "Eval JS Service:" + url + " (" + fullUrl + ")");
} else {
Log.d(TAG, "Eval JS Service:" + url);
String message = "Eval JS Service: " + url;
if (!url.equals(fullUrl)) {
message += " (" + fullUrl + ")";
}
Log.d(TAG, message);
}

if (fullUrl.startsWith(TiC.URL_APP_PREFIX)) {
Expand Down

0 comments on commit 5ba35d3

Please sign in to comment.