commit | 026a558ab0d9e710f385ea658687f385312b970e | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Wed Mar 22 11:08:37 2017 -0700 |
committer | Romain Guy <romainguy@google.com> | Tue Mar 28 18:33:47 2017 +0000 |
tree | d4050f85b2fd47d8b3cb6347cf9e2b8770c0c537 | |
parent | 78f5c26fa6687a03858b7eec8c991950a4837af6 [diff] |
Update Color API Make the class final because its instances are immutable and it contained only static methods prior to O. Fix a couple of typos/issues reported by external developers. Add a new variant of getComponents() to avoid allocations, as requested by external dev. Test: Color_ColorLongTest Bug: 32984164 Change-Id: I3c22e124c9fdf66142d530afa4beb05fe0669359 (cherry picked from commit 48f38f18385e8aed0df48524d8ea3d20eba9199f)