summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorVarun Shah <varunshah@google.com>2019-09-04 12:04:02 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-09-16 20:56:27 +0000
commitf1c709783449a7a801e80a300835996831d55eb0 (patch)
tree3cb0c05db74efdb34fbfaa18d3412ca229116015 /tools/aapt2/java/JavaClassGenerator.cpp
parent5fd590d32d91ac237513a502f55fdae926edea14 (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 (cherry picked from commit 5d9031dbee2fad9b29e6477f5d7af8b622f2b456) (cherry picked from commit 669d886cdc8b577f318152712c6b3b10c8a82599)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions