packages/apps/Settings
Revisão | 9df47ed19e59d442c25d6add7104e43d174a47c5 (tree) |
---|---|
Hora | 2011-06-10 04:00:35 |
Autor | Freeman Ng <tenorslowworm@goog...> |
Commiter | Freeman Ng |
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
@@ -138,6 +138,7 @@ | ||
138 | 138 | <activity android:name=".wifi.WifiSettingsForSetupWizardXL" |
139 | 139 | android:theme="@android:style/Theme.Holo.NoActionBar" |
140 | 140 | android:windowBackground="@drawable/setups_bg_default" |
141 | + android:screenOrientation="behind" | |
141 | 142 | android:clearTaskOnLaunch="true" |
142 | 143 | android:windowSoftInputMode="adjustResize" |
143 | 144 | android:exported="true" /> |