Commit ffb6780d authored by justin's avatar justin Committed by GitHub

Merge pull request #832 from chengjianchao/1.71.1-hotfixes

修复控制针问题
parents 20514081 2f9841b3
......@@ -151,7 +151,7 @@ public class XPlatformPlugin {
@SuppressWarnings("deprecation")
private void setSystemChromeApplicationSwitcherDescription(PlatformChannel.AppSwitcherDescription description) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP || activity == null) {
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment