Crash the process if it has received too many binder proxies
... even on user build.
The current upper bound is 25K, and we used to crash the process
on userdebug build only. However, binder proxy leaks do cause
unexpected symptoms, such as UI janks, which is hard to trace.
Crashing the process will help to gain the system health signals
from the field.
Bug: 295976585
Test: Manual - induce a binder proxy leak and verify the process crashes
Change-Id: Ifffeb17059363ffa389f3b980b4e4fb747bcfc99
1 file changed