• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Settings


Commit MetaInfo

Revisão9df47ed19e59d442c25d6add7104e43d174a47c5 (tree)
Hora2011-06-10 04:00:35
AutorFreeman Ng <tenorslowworm@goog...>
CommiterFreeman Ng

Mensagem de Log

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

Mudança Sumário

Diff

--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -138,6 +138,7 @@
138138 <activity android:name=".wifi.WifiSettingsForSetupWizardXL"
139139 android:theme="@android:style/Theme.Holo.NoActionBar"
140140 android:windowBackground="@drawable/setups_bg_default"
141+ android:screenOrientation="behind"
141142 android:clearTaskOnLaunch="true"
142143 android:windowSoftInputMode="adjustResize"
143144 android:exported="true" />