Skip to content

Commit

Permalink
bugfix: released Resource #834
Browse files Browse the repository at this point in the history
  • Loading branch information
cgspine committed Feb 22, 2020
1 parent 56c6380 commit 90e23fb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public void visitMethod(@NotNull JavaContext context,
// 若文件存在,并且包含首行包含 vector,则为 Vector Drawable,抛出警告
context.report(ISSUE_JAVA_VECTOR_DRAWABLE, method, context.getLocation(method), expression.toString() + " 为 Vector Drawable,请使用 getVectorDrawable 方法获取,避免 4.0 及以下版本的系统产生 Crash");
}
reader.close();
fileInputStream.close();
} catch (Exception ignored) {
}
Expand Down

0 comments on commit 90e23fb

Please sign in to comment.