[Title] Support Privilege List in Add-on SDK
authorchanghyun1.lee <changhyun1.lee@samsung.com>
Mon, 25 Mar 2013 06:22:30 +0000 (15:22 +0900)
committerchanghyun1.lee <changhyun1.lee@samsung.com>
Mon, 25 Mar 2013 06:22:30 +0000 (15:22 +0900)
[Desc.]
[Issue] Redmine-8837

Change-Id: I1f1c357c8bcdd07fee099d6f8ae8f28561e6e4e7

org.tizen.common/src/org/tizen/common/core/application/InstallPathConfig.java

index c60e68b..b42da8d 100755 (executable)
@@ -53,6 +53,7 @@ final public class InstallPathConfig {
     private static final String DIR_TOOLS = "tools";
     private static final String DIR_LIBRARY = "library";
     private static final String DIR_SDK_DATA = "tizen-sdk-data";
+    private static final String DIR_CHECKER = "checker";
 
     private final static String SDKSUFFIX = DIR_SDK_DATA + File.separatorChar + "tizensdkpath";
 
@@ -154,6 +155,14 @@ final public class InstallPathConfig {
         return defaultHomePath;
     }
 
+    /**
+     * Provides checker dir path.
+     * @return String checker dir path
+     */
+    public static String getCheckerPath() {
+        return getToolsPath() + File.separator + DIR_CHECKER;
+    }
+
     public static String getUserDataPath() {
         return getUserHomePath() + File.separator + DIR_SDK_DATA;
     }