Fix privacy information log.
authorSeungWon Lee <lsw2000.lee@samsung.com>
Wed, 17 Apr 2013 07:08:37 +0000 (16:08 +0900)
committerSeungWon Lee <lsw2000.lee@samsung.com>
Wed, 17 Apr 2013 07:08:37 +0000 (16:08 +0900)
Change-Id: I47f39f829f797f79f55c3bcf8aca326309627030
Signed-off-by: SeungWon Lee <lsw2000.lee@samsung.com>
src/app/FApp_AppSettingImpl.cpp

index 949a767..4649cc2 100644 (file)
@@ -469,8 +469,7 @@ _AppSettingImpl::GetValue(const Tizen::Base::String& id, bool& value) const
        const _SettingItem* pItem = dynamic_cast<const _SettingItem*>(pObject);
        SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
        const Boolean* pBoolean = dynamic_cast<const Boolean*>(pItem->GetValue());
-       SysTryReturnResult(NID_APP, pBoolean != null, E_TYPE_MISMATCH,
-                                          "Type mismatch between requested type bool and object type of %ls.", id.GetPointer());
+       SysTryReturnResult(NID_APP, pBoolean != null, E_TYPE_MISMATCH, "Type mismatch between requested type bool and object type.");
        value = pBoolean->ToBool();
 
        return E_SUCCESS;
@@ -484,8 +483,7 @@ _AppSettingImpl::GetValue(const Tizen::Base::String& id, int& value) const
        const _SettingItem* pItem = dynamic_cast<const _SettingItem*>(pObject);
        SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
        const Integer* pInteger = dynamic_cast<const Integer*>(pItem->GetValue());
-       SysTryReturnResult(NID_APP, pInteger != null, E_TYPE_MISMATCH,
-                                          "Type mismatch between requested type int and object type of %ls.", id.GetPointer());
+       SysTryReturnResult(NID_APP, pInteger != null, E_TYPE_MISMATCH, "Type mismatch between requested type int and object type.");
        value = pInteger->ToInt();
 
        return E_SUCCESS;
@@ -499,8 +497,7 @@ _AppSettingImpl::GetValue(const Tizen::Base::String& id, Tizen::Base::String& va
        const _SettingItem* pItem = dynamic_cast<const _SettingItem*>(pObject);
        SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
        const String* pString = dynamic_cast<const String*>(pItem->GetValue());
-       SysTryReturnResult(NID_APP, pString != null, E_TYPE_MISMATCH,
-                                          "Type mismatch between requested type String and object type of %ls.", id.GetPointer());
+       SysTryReturnResult(NID_APP, pString != null, E_TYPE_MISMATCH, "Type mismatch between requested type String and object type.");
        value = *pString;
 
        return E_SUCCESS;
@@ -514,8 +511,7 @@ _AppSettingImpl::SetValue(const Tizen::Base::String& id, bool value, bool save)
        _SettingItem* pItem = dynamic_cast<_SettingItem*>(pObject);
        SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
        Boolean* pBoolean = dynamic_cast<Boolean*>(pItem->GetValue());
-       SysTryReturnResult(NID_APP, pBoolean != null, E_TYPE_MISMATCH,
-                                          "Type mismatch between requested type bool and object type of %ls.", id.GetPointer());
+       SysTryReturnResult(NID_APP, pBoolean != null, E_TYPE_MISMATCH, "Type mismatch between requested type bool and object type.");
        *pBoolean = value;
 
        static const String strTrue(L"true");
@@ -545,8 +541,7 @@ _AppSettingImpl::SetValue(const Tizen::Base::String& id, int value, bool save)
        _SettingItem* pItem = dynamic_cast<_SettingItem*>(pObject);
        SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
        Integer* pInteger = dynamic_cast<Integer*>(pItem->GetValue());
-       SysTryReturnResult(NID_APP, pInteger != null, E_TYPE_MISMATCH,
-                                          "Type mismatch between requested type int and object type of %ls.", id.GetPointer());
+       SysTryReturnResult(NID_APP, pInteger != null, E_TYPE_MISMATCH, "Type mismatch between requested type int and object type.");
 
        SysTryReturnResult(NID_APP, (pItem->GetMin() <= value), E_OUT_OF_RANGE, "value(%d) is less than minimum range(%d).",
                                           value, pItem->GetMin());
@@ -577,8 +572,7 @@ _AppSettingImpl::SetValue(const Tizen::Base::String& id, const Tizen::Base::Stri
        _SettingItem* pItem = dynamic_cast<_SettingItem*>(pObject);
        SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
        String* pString = dynamic_cast<String*>(pItem->GetValue());
-       SysTryReturnResult(NID_APP, pString != null, E_TYPE_MISMATCH,
-                                          "Type mismatch between requested type String and object type of %ls.", id.GetPointer());
+       SysTryReturnResult(NID_APP, pString != null, E_TYPE_MISMATCH, "Type mismatch between requested type String and object type.");
 
        SysTryReturnResult(NID_APP, pItem->GetMin() <= value.GetLength(), E_OUT_OF_RANGE,
                                           "value length(%d) less than minimum length(%d).", value.GetLength(), pItem->GetMin());
@@ -1115,11 +1109,11 @@ _AppSettingImpl::SetValueFromDBusData(const char* pId, const char* pValue)
                        SetValue(strId, strValue, false);
                        return;
                }
-               SysLog(NID_APP, "Failed determin value type for id=%s", pId);
+               SysSecureLog(NID_APP, "Failed determine value type for id= %s", pId);
        }
        else
        {
-               SysLog(NID_APP, "Failed find value for id=%s", pId);
+               SysSecureLog(NID_APP, "Failed find value for id= %s", pId);
        }
 }