更新 NotificationListener.java
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user