mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Added leak canary
This commit is contained in:
@@ -58,6 +58,7 @@ public class ServiceUI extends IntentService {
|
||||
static final int PI_SNOOZE = 10;
|
||||
static final int PI_IGNORED = 11;
|
||||
static final int PI_DELETE = 12;
|
||||
static final int PI_DUMP = 13;
|
||||
|
||||
public ServiceUI() {
|
||||
this(ServiceUI.class.getName());
|
||||
@@ -175,6 +176,10 @@ public class ServiceUI extends IntentService {
|
||||
// ignore
|
||||
break;
|
||||
|
||||
case "dump":
|
||||
Log.checkCanary();
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new IllegalArgumentException("Unknown UI action: " + parts[0]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user