]> git.saurik.com Git - android/aapt.git/commit
Dedupe resource config pointers
authorKenny Root <kroot@google.com>
Wed, 10 Mar 2010 00:55:23 +0000 (16:55 -0800)
committerKenny Root <kroot@google.com>
Wed, 10 Mar 2010 04:56:41 +0000 (20:56 -0800)
commitd38cd880626e1508ffec8d891a8e61b8f5c8cb7d
tree4358092a18e3cf09c438d34dcb5dcea0ac954d23
parent1423619ab908d03f8fcff4d4dd8ee359c4f2dddf
Dedupe resource config pointers

When there are two configs in a StringPool that would match a string ID
only keep the more generic entry to save some space. This means that if
you have both "es" and "es_US" translations that have the same
translation, the string entry would be removed from the "es_US" config.

Change-Id: I4d619942d35ddb477e2eabe4437b7f02697c24de
ResourceTable.cpp
ResourceTable.h