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 /non_openjdk_java_files.bp | |
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 'non_openjdk_java_files.bp')
-rw-r--r-- | non_openjdk_java_files.bp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/non_openjdk_java_files.bp b/non_openjdk_java_files.bp index f2b564a1bd..1952687571 100644 --- a/non_openjdk_java_files.bp +++ b/non_openjdk_java_files.bp @@ -178,7 +178,6 @@ filegroup { "luni/src/main/java/libcore/net/InetAddressUtils.java", "luni/src/main/java/libcore/net/MimeMap.java", "luni/src/main/java/libcore/net/MimeMapImpl.java", - "luni/src/main/java/libcore/net/MimeUtils.java", "luni/src/main/java/libcore/net/NetworkSecurityPolicy.java", "luni/src/main/java/libcore/net/event/NetworkEventDispatcher.java", "luni/src/main/java/libcore/timezone/CountryTimeZones.java", |