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 2b63ea6 commit 6bebc5fCopy full SHA for 6bebc5f
src/src/com/tns/JsDebugger.java
@@ -351,8 +351,8 @@ int getDebuggerPortFromEnvironment()
351
if (logger.isEnabled()) logger.write("shouldDebugBreakFlag=" + shouldDebugBreakFlag);
352
353
if (shouldDebugBreakFlag)
354
- {
355
{
+
356
try
357
358
Thread.sleep(3 * 1000);
@@ -575,8 +575,8 @@ public static boolean shouldDebugBreak(Context context)
575
return false;
576
}
577
578
- String appRoot = context.getFilesDir().getPath() + File.separator;
579
- File debugBreakFile = new File(appRoot, DEBUG_BREAK_FILENAME);
+ File baseDir = context.getExternalFilesDir(null);
+ File debugBreakFile = new File(baseDir, DEBUG_BREAK_FILENAME);
580
if (debugBreakFile.exists())
581
582
debugBreakFile.delete();
0 commit comments