grpc-java
grpc-java copied to clipboard
binder: Set default idle timeout to 60 seconds, and enable "strict lifecycle management".
The default idle timer of 30 minutes is inappropriate for cross-process Android bindings, so use a more aggressive default.
Also, add an option to enable "strictLifecycleManagement" on a binder-based channel. The intention is that should should be used from processes with privileged procrank, where relying on an idle timer would create system-health problems