diff options
author | Varun Shah <varunshah@google.com> | 2019-12-06 14:56:33 -0800 |
---|---|---|
committer | Varun Shah <varunshah@google.com> | 2019-12-06 16:08:04 -0800 |
commit | 55ae88164962ee6f139b9580cc829cb10afe212f (patch) | |
tree | ec728a243a08cf2f6e95275ee0e53a88cc9727db /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a1248d313cbbeab7f51b56ef5a2ab5788c495239 (diff) |
Better error handling in UsageStats.
Ensure all types of exceptions are caught and logged/handled within
UsageStats.
Also update how read failures for pending events files are handled -
since the entire System DE directory is deleted on a successful user
unlock, read all the pending events that you can and skip over
potentially corrupted files.
Bug: 145574371
Test: atest UsageStatsDatabaseTest
Test: atest android.app.usage.cts.UsageStatsTest
Change-Id: I2e22fb01f9b97961b2160aeebaf7791d6673f8b9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions