Change-Id: Id31b007b51ad9853f42f38c78704c1dbf384a0dd
Signed-off-by: dukan.kim <dukan.kim@samsung.com>
msg.AddData(L"launch-type", L"visibility");
msg.AddData(L"launch-type", L"visibility");
- __processId = _AppControlManager::GetInstance()->Launch(msg, "ug-bluetooth-efl", APPSVC_OPERATION_VIEW, NULL, NULL, OnBluetoothAppControlResult, 0);
+ __processId = _AppControlManager::GetInstance()->Launch(msg, "ug-bluetooth-efl", "http://tizen.org/appcontrol/operation/configure/bluetooth/visibility", NULL, NULL, OnBluetoothAppControlResult, 0);
SysTryReturnResult(NID_APP, __processId >= 0, E_SYSTEM, "StartAppControl: Launching Bluetooth Visiblity AppControl is failed.");
SysLog(NID_APP, "StartAppControl: Launching Bluetooth Visiblity AppControl succeeded.");
SysTryReturnResult(NID_APP, __processId >= 0, E_SYSTEM, "StartAppControl: Launching Bluetooth Visiblity AppControl is failed.");
SysLog(NID_APP, "StartAppControl: Launching Bluetooth Visiblity AppControl succeeded.");
{
pResult->Add(new (std::nothrow) String(L"category"), new (std::nothrow) String(L"Bluetooth.Visibility"));
{
pResult->Add(new (std::nothrow) String(L"category"), new (std::nothrow) String(L"Bluetooth.Visibility"));
- const char* pBuf = appsvc_get_data(pBundle, "visibility");
+ const char* pBuf = appsvc_get_data(pBundle, "http://tizen.org/appcontrol/data/bluetooth/visibility");
if (pBuf)
{
switch (*pBuf)
{
case '0':
if (pBuf)
{
switch (*pBuf)
{
case '0':
- case '2':
- case '3':
- pBuf = "TimeLimitedOn";
- case '4':
- pBuf = "AlwaysOn";
+ case '2':
+ pBuf = "time_limited";
- pResult->Add(new (std::nothrow) String(L"visibility"), new (std::nothrow) String(pBuf));
+ pResult->Add(new (std::nothrow) String(L"http://tizen.org/appcontrol/data/bluetooth/visibility"), new (std::nothrow) String(pBuf));