Fix default values of Tizen feature to false 87/127887/1 accepted/tizen/unified/20170502.165739 submit/tizen/20170502.075333
authorchanywa <cbible.kim@samsung.com>
Tue, 2 May 2017 07:24:07 +0000 (16:24 +0900)
committerchanywa <cbible.kim@samsung.com>
Tue, 2 May 2017 07:24:07 +0000 (16:24 +0900)
Change-Id: Icd58bf013ae1d67645bd05cb3e4cad90a7689538

capi-maps-service.changes
packaging/capi-maps-service.spec
src/api/maps_condition.cpp

index 16ad586..542002e 100644 (file)
@@ -1,3 +1,8 @@
+[Version]   capi-maps-service_0.6.11
+[Date]      02 May 2017
+[Title]     Fix default values of Tizen feature to false
+[Developer] Seechan Kim <cbible.kim@samsung.com>
+
 [Version]   capi-maps-service_0.6.10
 [Date]      10 Feb 2017
 [Title]     add APIs to set and get scale of the whole map
index 9cb6f4c..7891407 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-maps-service
 Summary:    Tizen Maps Service API
-Version:    0.6.10
+Version:    0.6.11
 Release:    1
 Group:      Location/API
 License:    Apache-2.0
index d6b0442..b3a7253 100644 (file)
@@ -82,7 +82,7 @@ bool maps_condition_check_privilege(void)
 
 bool maps_condition_check_maps_feature(void)
 {
-       static bool is_supported = true;
+       static bool is_supported = false;
        static bool is_read = false;
 
        if (!is_read) {
@@ -95,10 +95,10 @@ bool maps_condition_check_maps_feature(void)
 
 bool maps_condition_check_internet_feature(void)
 {
-       static bool is_supported = true;
+       static bool is_supported = false;
        static bool is_read = false;
 
-       if (_get_tizen_profile() == TIZEN_PROFILE_WEARABLE && !is_read) {
+       if (!is_read) {
                system_info_get_platform_bool(INTERNET_FEATURE, &is_supported);
                MAPS_LOGD("internet feature is%ssupported", (is_supported ? " " : " not "));
                is_read = true;