Files
frameworks_base/core/java/android/app
Andreas Gampe 70b600d456 Frameworks: Move SharedPreferencesImpl to Future
The asynchronous loading code is not safe wrt/ exceptions. Instead
of adding a tri-state for loading, move the code to use a Future
for the map. This encapsulates the required wait & synchronization,
as well as propagating any exceptions.

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: I6616e8a05e64eb1cfe024cc3239a05847dfe1fab
2017-11-21 15:59:02 -08:00
..
2017-10-25 14:00:24 +01:00
2017-03-21 14:42:35 -07:00
2017-11-14 21:51:40 +00:00
2017-06-21 15:21:22 +00:00
2017-07-13 11:35:46 -04:00
2017-04-25 17:00:05 -04:00