diff options
author | Andreas Gampe <agampe@google.com> | 2018-01-03 17:36:20 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-01-05 18:02:30 -0800 |
commit | 1aa0d01cc859ba0a99e373759fab634f0ae9b17a (patch) | |
tree | 4768d1e45d0eb1e0606181b296286d360f5cd4d8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c6dd5f9037bf5f9414ac23983d8a69291904102a (diff) |
Frameworks: Move SharedPreferencesImpl to tristate
The code loading shared preferences from disk may throw in other
ways then a missing file, for example during an out-of-memory
situation. Ensure that waiters will be woken up, and propagate
the exception to the getters.
Bug: 67986472
Test: m
Test: Device boots
Test: m cts && cts-tradefed run commandAndExit cts-dev --module CtsContentTestCases -c android.content.cts.SharedPreferencesTest
Change-Id: I56e47342111f1cb53c5817c0429af4a6787475a9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions