OSDN Git Service

AAPT2: Disable locale domination for deduping
authorAdam Lesinski <adamlesinski@google.com>
Mon, 12 Jun 2017 21:55:58 +0000 (14:55 -0700)
committerAdam Lesinski <adamlesinski@google.com>
Tue, 13 Jun 2017 18:00:04 +0000 (11:00 -0700)
commite38567480be67ac83a8f8f090704bb0d49e2eed2
tree1ee9f1c8840e44c0f1c1a88a3b4986bbc8aba8c6
parent52feccbf41fe58921e66686077cb5ab20b2b0b13
AAPT2: Disable locale domination for deduping

Locale deduping isn't straightforward, as parenting rules
change between platform versions and the selection
preference of a specific locale variant over the default
configuration lead to incorrect results at runtime.

Bug: 62409213
Test: make aapt2_tests
Change-Id: Iec8f1cfba7ae43c847d163529891fdc15f3db826
tools/aapt2/ConfigDescription.cpp
tools/aapt2/DominatorTree_test.cpp
tools/aapt2/optimize/ResourceDeduper_test.cpp
tools/aapt2/test/Common.h