更新 NotificationListener.java
parent
a5b306a4a2
commit
ebd667f391
|
|
@ -10,7 +10,7 @@ import android.util.Log;
|
|||
|
||||
import com.nbee.echolink.model.WeChatMsg;
|
||||
import com.nbee.echolink.utils.HandleNoticeUtils;
|
||||
import com.nbee.echolink.utils.NetworkUtil;
|
||||
import com.nbee.echolink.utils.NetworkUtils;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Arrays;
|
||||
|
|
@ -27,7 +27,7 @@ public class NotificationListener extends NotificationListenerService {
|
|||
private static final List<String> notAllowList = Arrays.asList("com.github.kr328.clash","com.google.android.dialer",
|
||||
"com.google.android.apps.messaging");
|
||||
private HandleNoticeUtils handleNoticeUtils;
|
||||
private NetworkUtil networkUtil;
|
||||
private NetworkUtils networkUtil;
|
||||
private HashMap<String, Long> recentLogs = new HashMap<>();
|
||||
private Handler logCleanerHandler = new Handler(Looper.getMainLooper());
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ public class NotificationListener extends NotificationListenerService {
|
|||
public void onCreate() {
|
||||
super.onCreate();
|
||||
handleNoticeUtils = new HandleNoticeUtils(this);
|
||||
networkUtil = new NetworkUtil(this);
|
||||
networkUtil = new NetworkUtils(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue