onConfigurationChanged is not called
<p>Why is the onConfigurationChanged override method not called when i switch orientation ( ctrl+F11 ) in emulator.</p>

<pre><code>public class HelloSample extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }

    @Override
    public void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);                
        setContentView(R.layout.main);
        System.out.println("Change in Orientation");
    }

}
</code></pre>

<p>in manifest.xml</p>

<pre><code>&lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
        &lt;activity android:name=".HelloSample"
                  android:label="@string/app_name"
                  android:configChanges="orientation|keyboardHidden"
                  &gt;
            &lt;intent-filter&gt;
                &lt;action android:name="android.intent.action.MAIN" /&gt;
                &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;
</code></pre>
