更新 NotificationListener.java
parent
90e705b043
commit
308ceedbe5
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue