commit | a02e4c6c7604f41f7aaade18a94fbdbde0907eb8 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Wed Apr 01 16:45:39 2015 -0700 |
committer | George Mount <mount@google.com> | Thu Apr 02 13:38:53 2015 -0700 |
tree | 9fa557719e7bd538f69c923bcc2713576fa2de71 | |
parent | dfbaf13bea3b457f5c0498d354c9d575954732c5 [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