Skip to content

Commit 1778a85

Browse files
Continue instead of throw error
1 parent 289b495 commit 1778a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/samsung/microbit/utils/ProjectsHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public static boolean installSamples( Context context) {
207207

208208
File f = projectFile(context, ze.getName());
209209
if (!f.getCanonicalPath().startsWith(projectRoot(context).getCanonicalPath())) {
210-
throw new SecurityException();
210+
continue;
211211
}
212212

213213
if (ze.isDirectory()) {

0 commit comments

Comments
 (0)