Lawnchair错误

问题描述: Lawnchair停止运行,应用抽屉模糊处理异常
当前版本: MK81.0-virgo-201803191527-NIGHTLY
复现步骤: 一段时间待机,解锁进入桌面提示停止运行,应用抽屉变透明,点击搜索栏模糊处理生效
错误日志:#######RuntimeEnvironmentInformation#######
crash time=
model=MI NOTE LTE
android version=8.1.0(27)
brand=Xiaomi
manufacturer=Xiaomi
board=MSM8974
hardware=qcom
device=virgo
supported_abis=armeabi-v7a & armeabi
display=mk_virgo-userdebug 8.1.0 OPM1.171019.021 f5e39b664d test-keys
#######ForceCloseCrashLog#######
FATAL EXCEPTION: main
Process: org.mokee.lawnchair, PID: 22488
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.mokee.lawnchair/ch.deletescape.lawnchair.Launcher}: android.view.InflateException: Binary XML file line #17: Attempt to invoke virtual method ‘void ch.deletescape.lawnchair.dragndrop.DragController.setWindowToken(android.os.IBinder)’ on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4699)
at android.app.ActivityThread.-wrap18(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1595)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: android.view.InflateException: Binary XML file line #17: Attempt to invoke virtual method ‘void ch.deletescape.lawnchair.dragndrop.DragController.setWindowToken(android.os.IBinder)’ on a null object reference
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method ‘void ch.deletescape.lawnchair.dragndrop.DragController.setWindowToken(android.os.IBinder)’ on a null object reference
at ch.deletescape.lawnchair.Workspace.onAttachedToWindow(Unknown Source:17)
at android.view.View.dispatchAttachedToWindow(View.java:17445)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3326)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3333)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3333)
at android.view.ViewGroup.addViewInner(ViewGroup.java:4977)
at android.view.ViewGroup.addView(ViewGroup.java:4768)
at android.view.ViewGroup.addView(ViewGroup.java:4740)
at android.view.LayoutInflater.inflate(LayoutInflater.java:524)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:419)
at android.app.Activity.setContentView(Activity.java:2669)
at ch.deletescape.lawnchair.Launcher.onCreate(Unknown Source:157)
at android.app.Activity.performCreate(Activity.java:6999)
at android.app.Activity.performCreate(Activity.java:6990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4699)
at android.app.ActivityThread.-wrap18(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1595)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

该主题在最后一个回复创建后30天后自动关闭。不再允许新的回复。