public String getFullAppId() { if (mFullAppId == null) { if (launchSession.getSessionType() != LaunchSessionType.WebApp) mFullAppId = launchSession.getAppId(); else { Enumeration<String> enumeration = service.getWebAppIdMappings().keys(); while (enumeration.hasMoreElements()) { String mappedFullAppId = enumeration.nextElement(); String mappedAppId = service.getWebAppIdMappings().get(mappedFullAppId); if (mappedAppId.equalsIgnoreCase(launchSession.getAppId())) { mFullAppId = mappedAppId; break; } } } } if (mFullAppId == null) return launchSession.getAppId(); else return mFullAppId; }