commit | 89575897ca78603ca9ab64877e1f72e7a5cfb459 | [log] [tgz] |
---|---|---|
author | Kevin Han <kevhan@google.com> | Thu Jan 28 16:38:16 2021 -0800 |
committer | Kevin Han <kevhan@google.com> | Mon Feb 01 13:05:23 2021 -0800 |
tree | 26a2350826ce462d5b2d7b0b92f267e8e3390298 | |
parent | 6857f6ed91b99b2f6c38cec9afb4f7f1d962acd3 [diff] |
Add/remove user state based off user unlocking Only store user hibernation state in memory when the user is not stopped and is unlocked since we do not need the information. When a user unlocks, we get their installed packages and initialize their hibernation states in memory. When the user is stopped, we clear it. Bug: 175829330 Test: atest AppHibernationServiceTest Change-Id: Idb2dba02d53df72daedae0078405634a5db51e8d