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
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,
2 matches
Mail list logo