Commit afe2edd7 authored by wanglei's avatar wanglei

...

parent 1691f044
...@@ -34,7 +34,8 @@ object NotificationHoverUtils { ...@@ -34,7 +34,8 @@ object NotificationHoverUtils {
// 创建 Handler // 创建 Handler
if (handler == null) { if (handler == null) {
handlerThread?.let { handlerThread?.let {
handler = Handler(it.getLooper()) val looper = it.getLooper() ?: return
handler = Handler(looper)
} }
} }
......
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