commit | 9f2dc0527e755743c3b13fb27f68e5c425276106 | [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 | a76196384ffea549b929dd8e0610f342b502591c | |
parent | 61823f3a23750d672947ba7b5bb6dd4f1ff5503f [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