Merge branch 'tizen_3.0' into tizen_4.0 36/173736/1
authorPiotr Kosko <p.kosko@samsung.com>
Fri, 23 Mar 2018 11:12:17 +0000 (12:12 +0100)
committerPiotr Kosko <p.kosko@samsung.com>
Fri, 23 Mar 2018 11:12:22 +0000 (12:12 +0100)
Change-Id: I08833f4e4e820cafcdf5cbb6a291f4c7d78bf05d

1  2 
packaging/webapi-plugins.spec
src/common/filesystem/filesystem_storage.cc
src/nfc/nfc_adapter.cc
src/systeminfo/systeminfo_manager.cc
src/systeminfo/systeminfo_properties_manager.cc

Simple merge
index 41691a78db6e903fe4d118786b08ef0b380c930e,3a6f9ebfe5ff1e489d61976ae16a506b652eb3fa..f1725f3ac1582e0cd9765fc9d52e93aac20b0fac
@@@ -1392,13 -1381,11 +1392,13 @@@ void NFCAdapter::SendHostAPDUResponse(c
  PlatformResult NFCAdapter::IsActivatedHandlerForAID(const std::string& type, const std::string& aid,
                                                      bool* is_activated_handler) {
    ScopeLogger();
 -  AssertMsg(is_activated_handler, "Poiner can not be null!");
  
 +  if (!is_activated_handler) {
 +    return LogAndCreateResult(ErrorCode::UNKNOWN_ERR, "Pointer can not be null!");
 +  }
    nfc_se_type_e se_type;
    PlatformResult result = NFCUtil::ToSecureElementType(type, &se_type);
-   if (!result.IsError()) {
+   if (result.IsError()) {
      LoggerE("Error: %s", result.message().c_str());
      return result;
    }
@@@ -1415,13 -1402,11 +1415,13 @@@ PlatformResult NFCAdapter::IsActivatedH
      const std::string& type, nfc_card_emulation_category_type_e category,
      bool* is_activated_handler) {
    ScopeLogger();
 -  AssertMsg(is_activated_handler, "Poiner can not be null!");
  
 +  if (!is_activated_handler) {
 +    return LogAndCreateResult(ErrorCode::UNKNOWN_ERR, "Pointer can not be null!");
 +  }
    nfc_se_type_e se_type;
    PlatformResult result = NFCUtil::ToSecureElementType(type, &se_type);
-   if (!result.IsError()) {
+   if (result.IsError()) {
      LoggerE("Error: %s", result.message().c_str());
      return result;
    }
index d4110918d0a1b669a07f975926d7552321fbe9a4,f7afef0b8179db51defa6666a84ea0eb183bc0b9..7c301fee52ea908fc91e63c4cea7ff6bffce7c11
@@@ -1006,13 -986,10 +995,11 @@@ PlatformResult SysteminfoManager::Regis
  
  PlatformResult SysteminfoManager::UnregisterStorageListener() {
    ScopeLogger();
 -  PlatformResult ret = PlatformResult(ErrorCode::NO_ERROR);
 -
    g_source_remove(storage_event_id_);
    storage_event_id_ = 0;
-   CHECK_LISTENER_ERROR(
-       SysteminfoUtils::UnregisterVconfCallback(VCONFKEY_SYSMAN_MMC_STATUS, OnMmcChangedCb))
 +
 +  PlatformResult ret = PlatformResult(ErrorCode::NO_ERROR);
 +
    LoggerD("Removed callback for STORAGE");
    return PlatformResult(ErrorCode::NO_ERROR);
  }