summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2019-05-21 10:40:00 +0100
committerTobias Thierer <tobiast@google.com>2019-05-21 11:56:40 +0100
commitbeb3612e46638edf6285d4bf717ca0d60dabcfb8 (patch)
tree36db1794f5c39cf625379234b9d9ae0fc929da6c /annotations/generate_annotated_java_files.py
parent972eeb1b64cc5e75398237ccce330482786ac6af (diff)
android.mime.types: Add application/x-wifi-config.
This is an Android-specific MIME type that we want to map to the file extension .xml. The .xml file extension already maps to text/xml and we want to keep it that way, so this CL uses "*xml" to keep the existing mapping. The MIME type doesn't otherwise occur. This CL enforces this assumption by putting the MIME type as "*application/x-wifi-config" but adding a unit test to check that it is mapped as expected. A future CL might introduce some different prefix ('+' or similar) to assert that a mapping is newly added (as opposed to re-added). Test: atest CtsLibcoreTestCases:libcore.libcore.net.MimeMapTest Bug: 131913690 Change-Id: Ib7f93ea91c7360e76ecef0542c38d60185525e44
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions