Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ca655658 authored by Carlos Galo's avatar Carlos Galo
Browse files

jni: OomConnection: Update for libmemevents API changes



The MemEventListener now requires to pass a `MemEventClient` for it to map the BPF program, and ring-buffer, to the corresponding client.
Other API changes include the replacement of `getOomEvents()` to
`getMemEvents()`, and the return value tyoe of `listen()`.

Test: m
Test: Trigger OOM kill and verify `noteAppKill()` is called with the
matching OOM victim data
Bug: 315560026
Change-Id: Ia8b89110ac985417fc51ca3ef94191b116ca3658
Signed-off-by: default avatarCarlos Galo <carlosgalo@google.com>
Merged-In: Ia8b89110ac985417fc51ca3ef94191b116ca3658
parent 8b901f01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment