diff options
| author | Alex Deymo <deymo@google.com> | 2016-07-22 12:51:41 -0700 |
|---|---|---|
| committer | Alex Deymo <deymo@google.com> | 2016-08-03 21:14:34 -0700 |
| commit | e6eef83c63a50f043b2c4a85175030b6d8b6b91d (patch) | |
| tree | a0771b0ca4f77b1ea48cc90091fa5b8bc52daa57 /scripts/update_payload/format_utils_unittest.py | |
| parent | 35bec180ab6e9948a048a44c2a79f38df5c7a322 (diff) | |
Implement a memory-based Prefs class.
When the /data storage is not available, we need to store the required
prefs in memory to keep all the code working. This patch splits the
Prefs class functionality and implements a MemoryPrefs class which
stores all the values in memory.
Bug: 27178350
TEST=Added unittest for the MemoryPrefs.
(cherry picked from commit a0284ace424d1653f36208da24b5ce878d393c7e)
Change-Id: Iac6002b5c9b6c6f2cfd2d02f0a2aa6a4a8970404
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions
