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 7b06eaf commit 03f255dCopy full SHA for 03f255d
editor-view/src/main/java/com/duy/ide/DiagnosticPresenter.java
@@ -163,8 +163,9 @@ private void show(ArrayList<Diagnostic> diagnostics) {
163
164
private boolean isSystemFile(File file) {
165
try {
166
+ //data dir
167
File systemDir = mActivity.getFilesDir().getParentFile();
- return !systemDir.getCanonicalPath().startsWith(file.getCanonicalPath());
168
+ return systemDir.getCanonicalPath().startsWith(file.getCanonicalPath());
169
} catch (IOException e) {
170
e.printStackTrace();
171
return false;
0 commit comments