diff options
| author | Tobias Thierer <tobiast@google.com> | 2019-04-29 12:14:57 +0100 |
|---|---|---|
| committer | Tobias Thierer <tobiast@google.com> | 2019-05-11 00:37:35 +0100 |
| commit | 01ee319530fdf6e2f7c74826bd16f9830f4fff79 (patch) | |
| tree | 4371bf665700e70553efcb614d0af76ebf3b9561 /annotations/generate_annotated_java_files.py | |
| parent | 14ee0b7d5c6b51d119d2e80074610dbd0247167c (diff) | |
Customizable MIME type <-> file extension mapping, step 3 (attempt #2).
This is attempt #2 to submit this CL. The first attempt failed because
some usages of MimeUtils had remained in the downstream -plus-aosp
branch. These are now cleaned up by cherry-picking the corresponding
internal master changes to that branch.
Delete unused class MimeUtils.
Some MimeUtils calls used to be on the graylist and used by some apps
through reflection; such apps can instead use this public API, for now:
android.webkit.MimeTypeMap.getSingleton().getMimeTypeFromExtension(String)
android.webkit.MimeTypeMap.getSingleton().getExtensionFromMimeType(String)
Test: Treehugger
Change-Id: I8bec5aebbbcf0a0a4a8e5dc317d188830f219a1e
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
