[android-developers] deprecating Display#getOrientation() not such a good idea

2010-10-31 Thread tenacious
I'm not sure what the motivation was to deprecate Display#getOrientation() in SDK 8 is, since I haven't had a chance to read the changeset description. The decision made the API a little less humanistic. I propose it be brought back in SDK 9 for these reasons: 1) The community has two+ years of

Re: [android-developers] deprecating Display#getOrientation() not such a good idea

2010-10-31 Thread Dianne Hackborn
getOrientation() has never returned orientation, it returns rotation. So it is being renamed to getRotation(). This is *much* less confusing. In fact you were confused -- you thought it returned orientation, when it does not. If you want the current orientation,