Commit 2f9841b3 authored by 程建超's avatar 程建超

修复控制针问题

Signed-off-by: default avatar程建超 <chengjianchao@jd.com>
parent 20514081
...@@ -151,7 +151,7 @@ public class XPlatformPlugin { ...@@ -151,7 +151,7 @@ public class XPlatformPlugin {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
private void setSystemChromeApplicationSwitcherDescription(PlatformChannel.AppSwitcherDescription description) { 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; 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