Skip to content

Commit 0e3b929

Browse files
committed
make provideHandler method public
1 parent 3fef2a6 commit 0e3b929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskscheduler/src/main/java/com/silencedut/taskscheduler/TaskScheduler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private TaskScheduler() {
7474
* @param handlerName 线程名
7575
* @return 异步任务handler
7676
*/
77-
private static Handler provideHandler(String handlerName) {
77+
public static Handler provideHandler(String handlerName) {
7878

7979
if(getInstance().mHandlerMap.containsKey(handlerName)) {
8080
return getInstance().mHandlerMap.get(handlerName);

0 commit comments

Comments
 (0)