Because we are sometimes dumb. That is why it is deprecated and replaced with a method named getRotation() in current versions of the platform.
A nice person spent a long time harassing me about this change because they insistent that we were evil vile losers who didn't understand what app developers needed by deprecating the getOrientation() method. I never figured out exactly what was motivating all of that. But if that person is reading: this is why. :) On Sat, Aug 20, 2011 at 11:59 PM, Greg Donald <gdon...@gmail.com> wrote: > On Sun, Aug 21, 2011 at 1:12 AM, Adam Ratana <adam.rat...@gmail.com> > wrote: > > > > This isn't orientation, though, this is rotation. > > I wonder why they named the method getOrientation() then? > > > -- > Greg Donald > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en