History log of /frameworks/base/tools/aapt2/util/TypeTraits.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bb94f32a0042c8e2ab3d6e0de1b693713d2a6eab 12-Jul-2017 Adam Lesinski <adamlesinski@google.com> Revert "AAPT2: Auto-version adaptive-icon XML"

This reverts commit 5b7337f77cf036dda2c7218ccf22dedc774dcf76.

Bug: 63579299
Test: none
Change-Id: Ib617c4edfc16eeae3507b59b2debeae4f8bbf9a5
/frameworks/base/tools/aapt2/util/TypeTraits.h
5b7337f77cf036dda2c7218ccf22dedc774dcf76 26-Jun-2017 Adam Lesinski <adamlesinski@google.com> AAPT2: Auto-version adaptive-icon XML

Auto version adaptive-icon XML to v26.

This change makes the logic for generating versioned resources
simpler by changing the comparison function of ResTable_config
to evaluate the sdkVersion property last, making configurations
that differ only in sdkVersion next to each other in a sorted vector.

Bug: 62316340
Test: manual (verified output of tools/aapt2/integration-tests/AppOne)
Change-Id: I977d45821722a65d2135efb4693304eacc565c9a
/frameworks/base/tools/aapt2/util/TypeTraits.h
cacb28f2d60858106e2819cc7d95a65e8bda890b 19-Oct-2016 Adam Lesinski <adamlesinski@google.com> Use Google3 style guide with .clang-format

Test: style change only, builds ok
Change-Id: I885180e24cb2e7b58cfb4967c3bcb40058ce4078
/frameworks/base/tools/aapt2/util/TypeTraits.h
7ff3ee19f4b831a526baf4b928d1ac172d070d82 15-Dec-2015 Adam Lesinski <adamlesinski@google.com> AAPT2: Respect format attribute of <item> tag

An <item> is a general tag that can override certain behavior. For
instance, this is allowed:

<item name="foo" type="integer" format="float">0.4</item>

Even though without the format attribute, this would be illegal.

Change-Id: I8133ce59e14719a70d7476a1464c3f564c435289
/frameworks/base/tools/aapt2/util/TypeTraits.h