Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fc27817d authored by Tomislav Novak's avatar Tomislav Novak
Browse files

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
parent ed2395aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment