Added leak canary

This commit is contained in:
M66B
2022-04-12 21:16:04 +02:00
parent 1ea9637a83
commit b02c31ed70
8 changed files with 33 additions and 2 deletions

View File

@@ -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]);
}