diff --git a/midp/fs.js b/midp/fs.js index eda94ddc..26cf9ce3 100644 --- a/midp/fs.js +++ b/midp/fs.js @@ -9,13 +9,11 @@ var RECORD_STORE_BASE = "/RecordStore"; // and System.getProperty to provide inquiring midlets with the list. Each root // must have a trailing slash. See FileSystemRegistry.listRoots for more info. MIDP.fsRoots = [ - "MemoryCard/", "/", ]; // The names here should be localized. MIDP.fsRootNames = [ "Memory card", - "Phone memory", ]; function getAbsolutePath(jPath) { diff --git a/native.js b/native.js index 1145e475..845173e7 100644 --- a/native.js +++ b/native.js @@ -90,7 +90,7 @@ Native.create("java/lang/System.getProperty0.(Ljava/lang/String;)Ljava/lang/Stri value = null; break; case "fileconn.dir.memorycard": - value = "file:///MemoryCard/"; + value = "file:////"; break; case "fileconn.dir.private": value = "file:////"; diff --git a/tests/automation.js b/tests/automation.js index 181410fc..16272b36 100644 --- a/tests/automation.js +++ b/tests/automation.js @@ -62,7 +62,7 @@ var gfxTests = [ ]; var expectedUnitTestResults = [ - { name: "pass", number: 71537 }, + { name: "pass", number: 71536 }, { name: "fail", number: 0 }, { name: "known fail", number: 180 }, { name: "unknown pass", number: 0 }