Add callback for atom for MTE state

Bug: 266706806
Change-Id: Ia1fc6ce8b16d61fccb1b67b3aae0353ee40672b1
This commit is contained in:
Florian Mayer
2023-02-23 12:23:22 -08:00
parent a8db72ad6f
commit 1584d1813d
2 changed files with 61 additions and 0 deletions

View File

@@ -2739,6 +2739,14 @@ public final class SystemServer implements Dumpable {
}
t.traceEnd();
t.traceBegin("RegisterLogMteState");
try {
LogMteState.register(context);
} catch (Throwable e) {
reportWtf("RegisterLogMteState", e);
}
t.traceEnd();
// Emit any pending system_server WTFs
synchronized (SystemService.class) {
if (sPendingWtfs != null) {