Skip to content
Commit 296c895e authored by Yan Yan's avatar Yan Yan
Browse files

Add utils for converting Maps and ParcelUuid to/from PersistableBundle

This commit expands the PersistableBundleUtils by adding maps.
LinkedHashMap is used in an attempt to preserve ordering where stability
is important.

Similarly, this commit adds the ability to persist ParcelUuid(s) via
conversion to Strings.

This commit also adds a helper method to safely read and write to and
from disk

Bug: 163611304
Test: New tests added, passing
Change-Id: Ife24e94006445007be68ab0e03f27b2fd5643aa2
parent b92cbc78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment