We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23269ae commit 2b44ba8Copy full SHA for 2b44ba8
android/WearScript/src/main/java/com/dappervision/wearscript/models/InstalledScripts.java
@@ -25,6 +25,8 @@ private List<String> GistList() {
25
File extStorageDir = new File(WEARSCRIPT_PATH);
26
Log.i(TAG, "WSFiles: the directory: " + extStorageDir);
27
String[] flArray = extStorageDir.list();
28
+ if (flArray == null)
29
+ return new ArrayList<String>();
30
return Arrays.asList(flArray);
31
}
32
0 commit comments