summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tyler Lacey <tlacey@google.com> 2022-04-14 13:48:43 -0400
committer Tyler Lacey <tlacey@google.com> 2022-04-20 10:32:35 -0400
commit2fa6e18c513eacc061787e786e6b62b06d1ad38f (patch)
treec8aebc9ecccd6cc922a169348d11126712daa093 /libs/androidfw/StringPool.cpp
parent765bbec608205a3a4e22951d3f45df410c73ab12 (diff)
If necessary, re-create game session when game task is focused.
This change is needed because the game session may have been destroyed when the game task was put in the background by pressing the back button, but not re-created when the game task was restrored via the Recents UI. Because looking up RunningTaskInfo and checking for game classification may be too expensive when run every time a task (game or otherwise) is focused, also introduce an LRU cache for game task info. Bug: 227364480 Test: Manual testing Change-Id: I49b310e50287cc898172ddee3c3f3b0e98176a12
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions