onConfigurationChange not called after changing locale
For others who encounter this issue the OP was right but a bit unclear.
You have to define android:configChanges="layoutDirection|locale"
in order for onConfigurationChanged()
to be called.
I assume that this is necessary because locale change might also affect layout direction (for RTL languages) so declaring just locale might not be enough, yet this is only my assumption on this matter.
Use layoutDirection
attribute in the manifest file.