commit | 5d9031dbee2fad9b29e6477f5d7af8b622f2b456 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Wed Sep 04 12:04:02 2019 -0700 |
committer | Varun Shah <varunshah@google.com> | Wed Sep 04 19:12:08 2019 +0000 |
tree | 06c8b4dad60ec4fdf2dc5974fa7e093ba01846fc | |
parent | 402c7bb521361872547286f129026158ec952d1b [diff] |
Fix bootloop issue with UsageStatsService. When the configurations are being read from the proto file, if a duplicate locale is found in the list, an exception is thrown from LocaleList which causes the UsageStatsService to crash. Instead, we'll now log a WTF if duplicate locales are found when parsing the configuration proto and not add the duplicate locale to the list. Bug: 140197723 Test: atest UsageStatsDatabaseTest Change-Id: Ie178b3cfdd45e6771a7c0e4bb42e47f79b5c30cc