diff options
| author | 2024-11-25 12:13:34 +0000 | |
|---|---|---|
| committer | 2024-11-25 17:55:35 +0000 | |
| commit | 6b2f64df7e2e3c15cbb00e041fe2d32e8b9b1807 (patch) | |
| tree | f9cbcbf128b58700a47561a6674e8d858bc18449 /libs/input/PointerController.cpp | |
| parent | 067493a5f69047ea300430f4e963149a107e6a6c (diff) | |
Do not re-use dead shared isolated processes.
If we are trying to bind a service into an existing isolated process shortly after a previous shared process has been killed, we may still find the existing ProcessRecord, because that is only cleaned up after we receive a death notification. When then trying to bring up the service in that process, we notice it is dead, and schedule a restart, which introduces an additional delay into the binding.
Instead, make sure we don't use a ProcessRecord if it has already been killed.
Bug: 380037707
Change-Id: Iea591fad9113f522dae1bcd4ccbd1adc6fbb1076
Test: attest CtsExternalServiceTestCases
Flag: EXEMPT bugfix
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions