summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-07-22 12:51:41 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2016-07-25 22:42:42 +0000
commita0284ace424d1653f36208da24b5ce878d393c7e (patch)
tree90bdcd4c9a578a27be5e8808ca9e850b64742b29 /scripts/update_payload/format_utils.py
parentade107995c68a10f0b2ba23368eeb002efe52771 (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. Change-Id: I11f871ddb73e2f33db4101705efb293e1cbe0023
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions