diff options
| author | 2023-10-19 12:50:25 -0700 | |
|---|---|---|
| committer | 2024-01-29 09:12:08 -0800 | |
| commit | fc27817d936f644aa5e7747ca9bb7c457b1a55f5 (patch) | |
| tree | 595c8574594a48adbcbf9a0fb37436cfc33f321e /api/api.go | |
| parent | ed2395aa096a06af174f8224842ae44fb2601305 (diff) | |
Add null check to updateHasAboveClientLocked
The same-process check in updateHasAboveClientLocked (see aosp/2577299)
was missing a null check: service's ProcessRecord is not guaranteed to
be set, for example if the client unbinds before the process hosting the
service is even started.
Test: atest MockingOomAdjusterTests
Change-Id: I220d9d1309cfc33316308bf805f4e34a0806a35d
Merged-In: Iee5024b8f13771bc98a39a20e5f96a89a4c79b4e
Merged-In: Id5aee1323b9b3b254e19e8a4e189c1fa4f9d96ea
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions