Skip to content

Commit e8174e3

Browse files
committed
为 WindowTaskHandler 类添加一个私有的构造函数
1 parent 7606718 commit e8174e3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

library/src/main/java/com/hjq/window/WindowTaskHandler.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ public final class WindowTaskHandler {
1616
/** Handler 对象 */
1717
private static final Handler HANDLER = new Handler(Looper.getMainLooper());
1818

19+
private WindowTaskHandler() {
20+
// default implementation ignored
21+
}
22+
1923
/**
2024
* 延迟发送一个任务
2125
*/

0 commit comments

Comments
 (0)