Repository navigation
Commit a36c1e5
committed
fix(android): Bind the NDK crash service as important
Without `BIND_IMPORTANT`, a foreground app raises its bound crash
service process only to the visible oom adj (100), so lmkd would kill
the service before the app under memory pressure. The flag gives the
service the app's own adj (0) while the app is on top, without
lowering the app's priority the way `BIND_ABOVE_CLIENT` would.1 parent 390f348 commit a36c1e5
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
307 | 309 | | |
308 | 310 | | |
309 | | - | |
| 311 | + | |
310 | 312 | | |
311 | | - | |
| 313 | + | |
312 | 314 | | |
313 | 315 | | |
314 | 316 | | |
| |||
0 commit comments