diff options
author | 2024-12-22 18:15:50 +0000 | |
---|---|---|
committer | 2025-02-17 17:20:26 +0000 | |
commit | ca32dd98de9c7767f11cd44f4e91225a5bfb3dbc (patch) | |
tree | 1773b0178606d20c40fb9b7aa8740ff3bf82af12 /mediaprovider_flags.aconfig | |
parent | 6813f3582452cc27c70b9783db57ac5f7d3ed612 (diff) |
Fix handling of unsupported MIME types in Android 15
In Android 15, certain unsupported MIME types were introduced. This ensures new files with these MIME types are handled with the correct MIME type also fixed the exsiting incorrect mime type and media type
Test: atest MimeTypeFixHandlerTest
Flag: com.android.providers.media.flags.enable_mime_type_fix_for_android_15
Bug: 376910932
Change-Id: I642ab9a03cf8cd059d28fe258b80fe05ab31c8ce
Diffstat (limited to 'mediaprovider_flags.aconfig')
-rw-r--r-- | mediaprovider_flags.aconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mediaprovider_flags.aconfig b/mediaprovider_flags.aconfig index 1ddbb5068..7a6c28299 100644 --- a/mediaprovider_flags.aconfig +++ b/mediaprovider_flags.aconfig @@ -273,3 +273,12 @@ flag { is_fixed_read_only: true bug: "391360514" } + +flag { + name: "enable_mime_type_fix_for_android_15" + is_exported: true + namespace: "mediaprovider" + description: "This flag enables the fix for MIME type mapping in Android 15, correcting the faulty mime.types entries." + is_fixed_read_only: true + bug: "376910932" +} |