logd: crash in prune mLastWorstPidOfSystem

(cherry-pick from commit 1eefca281ee837d183e49951ae29683d8665129a)

mLastWorstPidOfSystem is supposed to be indexed by element->getPid()

Bug: 31237377
Bug: 30797725
Bug: 30688716
Change-Id: I81a55e92f175ded1c571a0aa8836736d86b36b1d
1 file changed
tree: 48b16e6c8ae45dd8fc37c426a70722d031f3f9be
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/