diff options
author | 2024-10-08 07:02:03 +0000 | |
---|---|---|
committer | 2024-10-11 06:49:37 +0000 | |
commit | 526ec26d1c37cd7f694730eb92a2b5bf01f04487 (patch) | |
tree | f8aaa1055677d6d3a77c229ea1b5fba3e57af4b1 /mediaprovider_flags.aconfig | |
parent | 5c1828f89143477b3625d9e025db3028c142e4f3 (diff) |
Restrict invalid characters in file name
Certain unicodes are not getting correctly encoded and decoded by UTF-8 encoding.
Adding a check to avoid filenames containing these characters.
Bug: 263914218
Test: NA
Flag: com.android.providers.media.flags.enable_unicode_check
Change-Id: I67828d34adfbe3c8f3888f6cf265249e0715c974
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 179546d0f..c551573a9 100644 --- a/mediaprovider_flags.aconfig +++ b/mediaprovider_flags.aconfig @@ -174,3 +174,12 @@ flag { bug: "293301664" is_fixed_read_only: true } + +flag { + name: "enable_unicode_check" + is_exported: true + namespace: "mediaprovider" + description: "This flag controls whether the unicode check is enabled" + bug: "263914218" + is_fixed_read_only: true +} |