summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-11-10 11:19:57 -0800
committerDianne Hackborn <hackbod@google.com>2011-11-10 11:19:57 -0800
commit56b53b597f015fa73ca339deff62eadf287297ae (patch)
tree3fba2d4742b4f9f706ec327a8a407500ea29e04a /opengl/java/android/opengl/Texture.java
parente7de36e605e0ccf4552c8ee1db40cb9af3227cf4 (diff)
Fix issue #5470311: Activity with android:configChanges defined...
...should not be restarted when rotating screen on xoom This was a side-effect of a previous fix to compute the screen layout config class based on the actual space available to the application, not the raw display size. On a device like Xoom, the system bar causes us to switch between LONG and NOTLONG depending on whether the system bar is on the short or long side of the screen. To fix this, we now compute the screen layout class the same way "smallest width" is computed: looking at all of the possible rotations and using the smallest of them all. In addition to preventing the device from toggling between long and notlong on a Xoom-like screen, this will also avoid other possible undersireable behavior like changing screen layout size when rotating. This does mean that Xoom is no longer considered a long screen even when in landscape, because it is not a long screen in portrait. Change-Id: I85f90a16294ef5a7de94d5b9231abbc6f914fe90
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions