The documentation says "**may** not be called" (emphasis mine.) It does not say that the method **will** not be called.
On Mon, Dec 28, 2009 at 12:43 AM, James Wang <[email protected]> wrote: > Hi, > SDK reference says "If this attribute is set to "true", > onSaveInstanceState() may not be called and onCreate() will be passed > null instead of the Bundle — just as it was when the activity started > for the first time." > I verified it is not true. No matter what value I set stateNotNeeded, > onSaveInstanceState() always gets called! > > Is this a bug? > > James > > -- > 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 > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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

