commit | 69f6f06d2abe63e43e03135d29c5dfa533061ddf | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Sun Jan 07 16:47:31 2018 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Sun Jan 07 19:06:01 2018 -0700 |
tree | 724734f2a7dd31c7a29d47021d854d9070713054 | |
parent | 1c5ccffefa6c90fd7537daf5c0cb6dcbd522692f [diff] |
Add DataUnit to clarify SI-vs-IEC units. Mirrors the design of TimeUnit and ChronoUnit which many developers are already familiar with, making it easy to pick up and use. Yes, this is an enum. Bug: 70915728 Test: bit FrameworksCoreTests:android.util.DataUnitTest Change-Id: Id0cfdac5c81ed89c3c9ece23c964acba4a4f8471