####################################################################
- # Mobile Profile : Redwood(SM-Z910F) #
+ # Mobile Profile : Redwood(SM-Z910F), KIRAN(Z130H) #
####################################################################
-%if "%{?tizen_profile_name}" == "mobile"
+%if "%{?profile}" == "mobile"
-%define tizen_privilege_engine ACE
+%define tizen_privilege_engine CYNARA
%define tizen_feature_account_support 1
%define tizen_feature_alarm_support 1
%define tizen_feature_message_port_support 1
%define tizen_feature_messaging_support 1
- %ifarch %{arm}
- # ARM
+ %if 0%{?model_build_feature_nfc}
%define tizen_feature_nfc_emulation_support 0
-%define tizen_feature_nfc_support 1
+%define tizen_feature_nfc_support 0
%else
- # I586
%define tizen_feature_nfc_emulation_support 0
%define tizen_feature_nfc_support 0
%endif
# Badge API is mandatory in Tizen Wearable Profile.
%define tizen_feature_badge_support 1
-
-%define tizen_feature_bluetooth_support 1
+%define tizen_feature_bluetooth_support 0
# Bookmark API is optional in Tizen Wearable Profile.
%define tizen_feature_bookmark_support 0
CHECK_LISTENER_ERROR(RegisterVconfCallback(VCONFKEY_SYSMAN_HDMI,
OnPeripheralChangedCb, instance))
}
- // TODO(r.galka) temporarily removed - not supported by platform
- //if (-1 != vconf_get_int(VCONFKEY_POPSYNC_ACTIVATED_KEY, &value)) {
- // CHECK_LISTENER_ERROR(RegisterVconfCallback(VCONFKEY_POPSYNC_ACTIVATED_KEY,
- // OnPeripheralChangedCb, instance))
- //}
-
LoggerD("Added callback for PERIPHERAL");
m_peripheral_listener = callback;
}
'capi-network-connection',
'capi-system-device',
'capi-system-system-settings',
- 'capi-network-bluetooth',
- 'capi-network-wifi',
'tapi',
'sensor',
+ 'libtzplatform-config',
]
},
}],
switch (ret) {
case SYSTEM_SETTINGS_ERROR_NONE:
LoggerD("ret == SYSTEM_SETTINGS_ERROR_NONE");
- result_obj.insert(std::make_pair("value", picojson::value(value)));
+ result_obj.insert(std::make_pair("value", picojson::value(value ? value : "")));
free(value);
return PlatformResult(ErrorCode::NO_ERROR);
- case SYSTEM_SETTINGS_ERROR_CALL_UNSUPPORTED_API:
- LoggerD("ret == SYSTEM_SETTINGS_ERROR_CALL_UNSUPPORTED_API");
- return PlatformResult(ErrorCode::NOT_SUPPORTED_ERR,
- "This property is not supported.");
+ // TODO(p.kaczmarek3) temporarily removed - not supported by platform
+ //case SYSTEM_SETTINGS_ERROR_CALL_UNSUPPORTED_API:
+ // LoggerD("ret == SYSTEM_SETTINGS_ERROR_CALL_UNSUPPORTED_API");
+ // return PlatformResult(ErrorCode::NOT_SUPPORTED_ERR,
+ // "This property is not supported.");
default:
LoggerD("Other error");
return PlatformResult(ErrorCode::UNKNOWN_ERR);