Change security registration method 99/177599/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 2 May 2018 05:51:45 +0000 (14:51 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 3 May 2018 09:02:51 +0000 (09:02 +0000)
- Change security registration method to let developer change pkg
  between wgt and hybrid.

Change-Id: I1607de843dc2228981f74dff7349112187bb7537
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/security_registration.cc

index 14aa886133d8f35f453790046fa4136335d13e47..164b59ba5bd1efb1ae8396e645d8240081f1b2f3 100644 (file)
@@ -227,9 +227,9 @@ class SecurityContextRequest {
   }
 
   bool Install() {
-    int error = security_manager_app_install(req_);
+    int error = security_manager_app_update(req_);
     if (error != SECURITY_MANAGER_SUCCESS) {
-      LOG(ERROR) << "Failed while calling  security_manager_app_install failed "
+      LOG(ERROR) << "Failed while calling  security_manager_app_update failed "
                  << "(error code: " << error << ")";
       SetErrorMessage(&error_message_, error);
       return false;