From: chanywa Date: Wed, 23 Nov 2016 11:32:00 +0000 (+0900) Subject: Add an exception to skip checking HERE user concent at C# UTC X-Git-Tag: submit/tizen_3.0/20161124.113335^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b91562aa0ed7046d720315a744a351b6881cbef;p=platform%2Fcore%2Flocation%2Fmaps-plugin-here.git Add an exception to skip checking HERE user concent at C# UTC Change-Id: Ic8f911e2f8147f0e7df0cb29bdfa9ec2dcce44e8 --- diff --git a/src/heremaps-check-uc.cpp b/src/heremaps-check-uc.cpp index f3f6040..3a96319 100644 --- a/src/heremaps-check-uc.cpp +++ b/src/heremaps-check-uc.cpp @@ -31,6 +31,7 @@ bool heremaps_check_agreement() const char ITC_TPK_APP[] = "org.tizen.capi-maps-service-native-itc"; const char UTC_APP[] = "core.capi-maps-service-tests"; const char ITC_APP[] = "native.capi-maps-service-itc"; + const char UTC_CS_APP[] = "Tizen.Maps.Test"; int enabled = 0; int ret = 0; @@ -49,7 +50,8 @@ bool heremaps_check_agreement() } else if (!strncmp(strAppId, UTC_APP, strlen(UTC_APP)) || !strncmp(strAppId, ITC_APP, strlen(ITC_APP)) || !strncmp(strAppId, UTC_TPK_APP, strlen(UTC_TPK_APP)) || - !strncmp(strAppId, ITC_TPK_APP, strlen(ITC_TPK_APP))) { + !strncmp(strAppId, ITC_TPK_APP, strlen(ITC_TPK_APP)) || + !strncmp(strAppId, UTC_CS_APP, strlen(UTC_CS_APP))) { MAPS_LOGD("Requested by tct"); enabled = 1; }