commit | cfa9597688934fa8dd4a337a7fa97e7b70a58257 | [log] [tgz] |
---|---|---|
author | William Loh <wloh@google.com> | Mon Aug 28 18:47:39 2023 -0700 |
committer | William Loh <wloh@google.com> | Fri Sep 01 12:47:50 2023 -0700 |
tree | 6cb4a302793dd38738472ee5b84851b859e8747e | |
parent | c993acbf140b507064d36d2bfc64d9b72ccdaf13 [diff] |
Add new getHistoricalSessions API to PMInternal Sessions were written to strings to be stored as a historical session to avoid keeping references on Bitmaps and other heavy-weight objects. Since referenes to these heavy-weight object are all in SessionParams, we just write the SessionParams to a string into a new PackageInstallerHistoricalSession object. Bug: 292091934 Test: manual install and check the dump Change-Id: I839d67dff735a8e45ff206a0c9b08a1e72353042