commit | 746b82aa9d31a531811ce4e4d2771d4c578409c9 | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Wed Nov 21 09:45:00 2018 -0800 |
committer | Hui Yu <huiyu@google.com> | Mon Nov 26 22:40:43 2018 +0000 |
tree | 664b892b2cd08dd1aef232b2f413c552230c261d | |
parent | 9d7964b973aaa5179b9c29356d04bca07a2b719b [diff] |
Catch IOException when failed to parse new fields. When parsing from a XML file written by previous code, the new fields will get an IOException, catch the IOException and let the new fields to have default value. Change-Id: I2b2a494bf17aaf1383a6cc469d9c2addd6cac9c3 Fix: 119822293 Test: test com.google.android.gts.backup.UsageStatsRestoreHostSideTest#testUsageStatsRestore