The onConfigurationChanged
method is called when you physically rotated an Android device. So, you need to rotate your device to see the method gets called.
Note: The onConfigurationChanged also gets called when you changed locale, etc. See here for more info.
Also, I would have these values for the android:configChanges
directive:
android:configChanges="orientation|screenSize|layoutDirection
Also, Issue 61671 might be related to the screen orientation problem described in this post. As of April 2014, this defect / bug has not been resolved by Google.
WORKAROUND
As stated in this SO link, screen orientation might work if the device type is set as a generic 7" tablet instead of Nexus 7.