commit | 358d5006234b1e5f0feb95f72ef42e592d28e661 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Tue Sep 17 13:48:38 2019 -0700 |
committer | Varun Shah <varunshah@google.com> | Tue Oct 08 21:24:15 2019 -0700 |
tree | 36966604501cff3b3f776af1aa7bb2c0005f6d67 | |
parent | e1ba9cde53546caca0befe65611bac10f7f67622 [diff] |
Catch exceptions in UsageStatsService on bad data. Instead of throwing exceptions from UsageStatsService and potentially crashing the system server, catch exception on reading/writing bad data and log the exception. Also ensure proper handling of deobfuscating bad data. Bug: 140459061 Bug: 135484470 Test: atest IntervalStatsTests Test: atest UsageStatsDatabaseTest Change-Id: I17d6ad5e377a2636ff42c9b422fe6ddf1201fc08