提交 841cd667 编写于 作者: J Jason Simmons 提交者: GitHub

Remove use of a deprecated getDrawable API (#3979)

上级 08eb7234
......@@ -328,7 +328,7 @@ public final class FlutterActivityDelegate
return null;
}
try {
return activity.getResources().getDrawable(typedValue.resourceId);
return activity.getDrawable(typedValue.resourceId);
} catch (NotFoundException e) {
Log.e(TAG, "Referenced launch screen windowBackground resource does not exist");
return null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册