OSDN Git Service

Remove upside-down portrait orientation.
authorSteve Howard <showard@google.com>
Mon, 29 Mar 2010 21:43:46 +0000 (14:43 -0700)
committerSteve Howard <showard@google.com>
Mon, 29 Mar 2010 21:43:46 +0000 (14:43 -0700)
commit1c310b9d2f58ac008fe50f98c6a5c04a5f0645ff
tree42d2a7334c8e60668bb9d40194bccf81b28e2ee6
parentc7d2e169c04de37717c2320184f87caed6be7769
Remove upside-down portrait orientation.

I also realized the ROTATION_NN constants were misdocumented, they
actually align the opposite direction from the "orientation" angle
computed in the code (i.e. orientation=90 is left side up, ROTATION_90
is right side up).  I just changed the comment here to keep the change
minimal; I'll update the code to be more consistent outside of this
release branch.

Bug: 2549875
Change-Id: I79c4286be582a21e730b25a8a24f2e1137c6e4cb
core/java/android/view/WindowOrientationListener.java