The linked code is:
String languageCode = Locale.getDefault().getDisplayLanguage();
Locale locale = new Locale(languageCode);
Locale.setDefault(locale);
But `getDisplayLanguage()` is defined as returning the display name, not the language code:> if the locale is en_US and the default DISPLAY locale is fr_FR, getDisplayLanguage() will return "anglais"
https://developer.android.com/reference/java/util/Locale#get...()
----
This then proceeds to create a locale with a corrupt language code. The language parameter of `Locale` is not validated (besides a null check), and using a corrupt Locale in `Locale.setDefault()` will cause a number of bugs