Increase retry count for db lock
[platform/framework/native/appfw.git] / src / app / inc / FAppPkg_PackageManagerImpl.h
index 4fe5ee0..a507c82 100644 (file)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -56,7 +55,7 @@ class IPackageInstallationEventListener;
 class IPackageInstallationResponseListener;
 class IPackageUninstallationResponseListener;
 
-static const int MAX_DATABASE_RETRY_COUNT = 30;
+static const int MAX_DATABASE_RETRY_COUNT = 500;
 static const wchar_t PACKAGE_DATABASE_FILE_NAME[] = L"/opt/usr/dbspace/.app-package.db";
 
 // PackageFilter
@@ -74,6 +73,12 @@ static const wchar_t PACKAGE_APP_FILTER_CATEGORY_HOMEAPP[] = L"http://tizen.org/
 static const wchar_t PACKAGE_APP_FILTER_CATEGORY_LOCKAPP[] = L"http://tizen.org/category/lockapp";
 static const wchar_t PACKAGE_APP_FILTER_CATEGORY_MENUAPP[] = L"http://tizen.org/category/menuapp";
 
+// PackageAppFilter(internal)
+//static const wchar_t PACKAGE_APP_FILTER_LAUNCH_ONBOOT[] = L"http://tizen.org/package/app/launchonboot";
+//static const wchar_t PACKAGE_APP_FILTER_AUTO_RESTART[] = L"http://tizen.org/package/app/autorestart";
+static const wchar_t PACKAGE_APP_FILTER_LAUNCHING_HISTORY_VISIBLE[] = L"http://tizen.org/package/app/launchinghistoryvisible";
+static const wchar_t PACKAGE_APP_FILTER_LAUNCH_CONDITION[] = L"http://tizen.org/package/app/launchcondition";
+
 enum PackageStorageType
 {
        PACKAGE_STORAGE_TYPE_INTERNAL,