As per Google's Developers document,on Android 11 (API level 30) through Android 13 (API level 33), Activity.onConfigurationChanged() isn't called.Refer this screenshot
They haven't mentioned an alternate solution to it, is anyone facing the same issue?