Skip to content
Commit 5477b578 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Fix warning of activity LRU list removal

In ActivityRecord#destroyImmediately, the #cleanUp has
removed the destroying activity from LRU list (since
2322bedc), so the later removal cannot find the existing
record and then always prints warning log.

Also update LRU list for the case of reparenting
(onActivityAddedToStack).

Bug: 80414790
Test: Launch and finish an activity. The log should not
      have warning "not in LRU list".
Change-Id: Ie7ce1ba7a4af95af6640b5833f6a7cd06ac8f8d4
parent 6f7e2d56
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