commit | a6886af4817b841ecde36d6d5f91624b0ea1c98d | [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 | c080279fe4ddd8a0e3fc2313386fe4d11af4c71b [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