commit | caf66d02fde298fcb010668e353a156bf2d49661 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Oct 16 23:35:01 2020 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Oct 20 21:54:26 2020 -0600 |
tree | 15d4bc11576ed9a76226589517148e23dc6182dc | |
parent | 5c46da2a14e8ec8f0f39dc7802292581f7c4593e [diff] |
Expand formatSimple() to support widths. One of the highest-traffic users of String.format() is in the notification code, which uses argument widths. To support these use-cases, this change adds argument width support, with tests. Bug: 170978902 Test: atest error_prone_android_framework_test Exempt-From-Owner-Approval: trivial additions Change-Id: I8e36d4725a6d0cc896dedc5c457eb5f38486d7b6