更新 NotificationListener.java

dev
wangsiyuan 2023-12-15 10:50:13 +08:00
parent 90e705b043
commit 308ceedbe5
1 changed files with 3 additions and 3 deletions

View File

@ -28,8 +28,8 @@ public class NotificationListener extends NotificationListenerService {
"com.google.android.apps.messaging"); "com.google.android.apps.messaging");
private HandleNoticeUtils handleNoticeUtils; private HandleNoticeUtils handleNoticeUtils;
private NetworkUtils networkUtil; private NetworkUtils networkUtil;
private HashMap<String, Long> recentLogs = new HashMap<>(); private final HashMap<String, Long> recentLogs = new HashMap<>();
private Handler logCleanerHandler = new Handler(Looper.getMainLooper()); private final Handler logCleanerHandler = new Handler(Looper.getMainLooper());
@Override @Override
public void onCreate() { public void onCreate() {
@ -75,7 +75,7 @@ public class NotificationListener extends NotificationListenerService {
return; // 如果在30秒内已打印过则跳过 return; // 如果在30秒内已打印过则跳过
} }
Timber.d(logMessage); // Timber.d(logMessage);
} }