Skip to content
Commit 3ffec4f5 authored by Jing Ji's avatar Jing Ji
Browse files

Do not reuse the same ProcessRecord if it's not fully gone yet

When force-stopping apps, it's eligible for restart, and during
that we might be reusing the old ProcessRecord before that process
is really gone. Now don't reuse that.

And also, remove the ProcessRecord from the LRU list when we know
it's really gone.

Bug: 286299952
Test: Manual - Clear app data and make sure it could restart correctly.
Change-Id: I2c71c64b962cb9b4ae15881add50c35fd9e4a7af
parent 0bc1b582
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