mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-17 04:31:16 +08:00
bugfix: released Resource #834
This commit is contained in:
@@ -93,6 +93,7 @@ public class QMUIJavaVectorDrawableDetector extends Detector implements Detector
|
||||
// 若文件存在,并且包含首行包含 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) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user