manifest tags are checked for package privilege level.
authorDongeup Ham <dongeup.ham@samsung.com>
Tue, 11 Jun 2013 06:08:18 +0000 (15:08 +0900)
committerDongeup Ham <dongeup.ham@samsung.com>
Tue, 11 Jun 2013 06:08:18 +0000 (15:08 +0900)
Change-Id: Ibe8b8d1eca3eb22afaf419624ac1b031d9a7a2e4
Signed-off-by: Dongeup Ham <dongeup.ham@samsung.com>
inc/InstallerDefs.h
src/Step/SignatureStep.cpp

index 1b2ef50..4f9f787 100755 (executable)
@@ -23,7 +23,7 @@
 
 #include "InstallerUtil.h"
 
 
 #include "InstallerUtil.h"
 
-#define OSP_INSTALLER_VERSION "version=[20130611.1]"
+#define OSP_INSTALLER_VERSION "version=[20130611.2]"
 
 #define DIR_BIN                                L"/bin"
 #define DIR_INFO                       L"/info"
 
 #define DIR_BIN                                L"/bin"
 #define DIR_INFO                       L"/info"
index ea12d6b..4d3e87d 100755 (executable)
@@ -253,7 +253,6 @@ InstallerError
 SignatureStep::OnStateContextAudit(void)
 {
        InstallerError error = INSTALLER_ERROR_NONE;
 SignatureStep::OnStateContextAudit(void)
 {
        InstallerError error = INSTALLER_ERROR_NONE;
-#if 0
        TryCatch(__pContext->__pAppDataList, error = INSTALLER_ERROR_NONE, "__pContext->__pAppDataList is null.");
 
        if (__pContext->__privilegeLevel == PRIVILEGE_LEVEL_PLATFORM)
        TryCatch(__pContext->__pAppDataList, error = INSTALLER_ERROR_NONE, "__pContext->__pAppDataList is null.");
 
        if (__pContext->__privilegeLevel == PRIVILEGE_LEVEL_PLATFORM)
@@ -293,7 +292,7 @@ SignatureStep::OnStateContextAudit(void)
                                                pAppData->__launchingHistoryVisible = L"True";
                                        }
                                }
                                                pAppData->__launchingHistoryVisible = L"True";
                                        }
                                }
-
+#if 0
                                if (pAppData->__isSubMode == true)
                                {
                                        AppLog("pAppData->__isSubMode(%d) does not be allowed in public privilege level",
                                if (pAppData->__isSubMode == true)
                                {
                                        AppLog("pAppData->__isSubMode(%d) does not be allowed in public privilege level",
@@ -320,6 +319,7 @@ SignatureStep::OnStateContextAudit(void)
                                                pAppData->__pFeatureList->Remove(launchOnBoot);
                                        }
                                }
                                                pAppData->__pFeatureList->Remove(launchOnBoot);
                                        }
                                }
+#endif
                        }
                }
        }
                        }
                }
        }
@@ -329,7 +329,6 @@ SignatureStep::OnStateContextAudit(void)
        }
 
 CATCH:
        }
 
 CATCH:
-#endif
        GoNextState();
        return error;
 }
        GoNextState();
        return error;
 }