OSDN Git Service

add "behind" screen orientation to prevent spurious flipping
authorFreeman Ng <tenorslowworm@google.com>
Thu, 9 Jun 2011 19:00:35 +0000 (12:00 -0700)
committerFreeman Ng <tenorslowworm@google.com>
Thu, 9 Jun 2011 19:00:35 +0000 (12:00 -0700)
commit9df47ed19e59d442c25d6add7104e43d174a47c5
tree2c2398f24615667944169971b8bb141d2dd847cc
parent7825cb295c5f08f84282b4bbaeb03da0a536a826
add "behind" screen orientation to prevent spurious flipping

Calling setRequestedOrientation() before setContentView() used to
start activities off in the desired orientation even if the device
was in the opposite orientation, but now, there's a kind of lag
where they display briefly in the device orientation before
flipping to the request one. This change eliminates this effect.

bug: 4581374
Change-Id: I807b0a0a8a247ec8e51b85707afcbd9f75ed9956
AndroidManifest.xml