I have a service that overrides onConfigurationChanged.
It's getting called when you change orientation from portrait -> landscape and vice versa but the problem is when you are rotating from landscape -> landscape. When you are tilting your phone to the Left then you change it to the Right.
As said on many answers here on stackoverflow the manifest file should be:
android:configChanges="keyboardHidden|orientation|screenSize"
Changing orientation from side to side (Left and Right) results in the same screen size thus onConfigurationChanged never gets called.
My app relies on the accelerometer so I need to get the current orientation to adjust my values.
Any thoughts on how and why onConfigurationChanged doesn't get called?