diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-06-13 11:32:50 +0100 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-06-13 15:37:37 +0100 |
commit | e34fbfb66a724284a9722892fa8f51f7c663ed86 (patch) | |
tree | e889b9d606f2cb0f1c4f45c9f92d66f1c9745dff /include/ScopedJavaUnicodeString.h | |
parent | 18c95a6701089371d6fb0cf98f6d1e8581cd4d1f (diff) |
Fix Preferences regression.
This change fixes reading filesystem-saved
java.util.prefs.Preferences.
Due to a bug in XmlSupport, when reading the
filesystem-saved preferences, the reader was
throwing an exception. The Android
implementation of xml parser adds additional
nodes that were not Elements, this was
causing a cast exception (the old code was expecting
only Elements).
FileSystemPreferences class was swallowing exceptions if
they happen during preferences content reading.
This changes adds additional logging to prevent this.
Bug: 27645233
Change-Id: Ieebd8a6a1002111654005bfcc42009b01c89ea70
(cherry picked from commit 44d29b0a9012a66f5db5a8130017568a55c11668)
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions