commit | ccae412deda8b0c165c86f395752c0667a3411a6 | [log] [tgz] |
---|---|---|
author | Nick Pelly <npelly@google.com> | Mon Jan 09 14:12:58 2012 -0800 |
committer | Nick Pelly <npelly@google.com> | Tue Jan 24 20:04:13 2012 -0800 |
tree | 3ddc03df0182a5b372c2d38e27d5a7c312cf9e31 | |
parent | 07d7d5a22dbb0a8df5631c8014f4706dd1e449da [diff] |
Add API's for normalizing MIME's and URI's. Helps developers create well-behaved intents: - lower case MIME data type - strip parameters from MIME content types - lowercase URI scheme The new API's are normalizeAndSetType() normalizeAndSetData() normalizeAndSetDataAndType() Uri.normalize() normalizeMimeType() Change-Id: Ib5c907897f39b1f705bcc4c9103ba1e6f316380b