modify skin, template path
authorjihye kim <jihye1128.kim@samsung.com>
Wed, 28 Aug 2013 03:03:05 +0000 (12:03 +0900)
committerjihye kim <jihye1128.kim@samsung.com>
Wed, 28 Aug 2013 03:10:46 +0000 (12:10 +0900)
Change-Id: I9d7069e1d739eccbb683e5c27cae5e9cec512bb5
Signed-off-by: jihye kim <jihye1128.kim@samsung.com>
common-project/src/org/tizen/emulator/manager/platform/Platform.java

index 2f2c469..0baca18 100644 (file)
@@ -175,7 +175,8 @@ public class Platform {
        }
 
        private void loadTemplate() {
-               File dir = new File(FilePathResources.getAddonsTemplatePath());
+               File dir = new File(platformPath + File.pathSeparator
+                                                       + FilePathResources.getAddonsTemplatePath());
                if (dir.exists()) {
                        EmulatorVMList vmList = EmulatorVMList.getInstance();
                        for (File config : dir.listFiles(new FileFilter() {
@@ -195,7 +196,8 @@ public class Platform {
        }
 
        private void loadSkins() {
-               File dir = new File(FilePathResources.getAddonsSkinPath());
+               File dir = new File(platformPath + File.pathSeparator
+                                                       + FilePathResources.getAddonsSkinPath());
                if (dir.exists()) {
                        for (File skin : dir.listFiles(new FileFilter() {
                                public boolean accept(File pathname) {