I wrote a simple test app which specifies
android:configChanges="orientation" & also
android:screenOrientation="portrait"

and in my activity I logged whenever onDestroy() and
onConfigurationChanged() gets called.

Now according to the docs, I was expecting onConfigurationChanged() to
get called whenever I press CTRL-F11 to change the emulator
orientation. However this is not the case instead onDestroy() gets
called. Why is this so?

When pressing CTRL-F11 I can see my activity is in portrait mode
regardless of orientation as I expected. But why is it still getting
destroyed?


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to