summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2015-04-01 16:45:39 -0700
committerGeorge Mount <mount@google.com>2015-04-02 13:38:53 -0700
commita02e4c6c7604f41f7aaade18a94fbdbde0907eb8 (patch)
tree9fa557719e7bd538f69c923bcc2713576fa2de71 /tools/aapt2/java/JavaClassGenerator.cpp
parentdfbaf13bea3b457f5c0498d354c9d575954732c5 (diff)
Use setTag(id, val) when minSdk is ICS and later.
setTag(id, val) leaks on versions before ICS. When the minimum SDK is before ICS, setTag(val) must be used for bindings. However, this prevents the developer from using the tag for his or her own purposes. Therefore, if the minimum SDK is ICS and greater, setTag(id, val) is used. Change-Id: I46327084bde4bafc05a64f82ad5ebcf710820ecc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions