commit | 5e0446a2633f2efa0cfec0578c6be32b54a51011 | [log] [tgz] |
---|---|---|
author | Zhen Zhang <zzhen@google.com> | Fri Jun 18 16:39:10 2021 -0700 |
committer | Zhen Zhang <zzhen@google.com> | Mon Jun 21 17:56:32 2021 -0700 |
tree | 1d9a11f65ea0f2c4b027c3f5feae7145b13aead5 | |
parent | c0af5cac34316aafed13d8f008836e5051cbc764 [diff] |
Log storage savings info with the GlobalHibernatedApps atom Retrieve the number of freed bytes from PM and store it in GlobalLevelState when a package is globally hibernated. Reset the value when it gets unhibernated and write it to disk to persist across device reboot. Bug: 188819665 Test: atest AppHibernationServiceTest Change-Id: I187ec803776cc76c77a660e1ba2f72c2e77765f9