mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

In the absence of any lock `createIsoLanguageReplacementMap` method was getting called twice due to race condition. Used Suppliers.memoize() which is by default thread safe. PiperOrigin-RevId: 524007754