mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
no need to request orientation when it never changes
This commit is contained in:
parent
553bee4956
commit
1caddcf39b
1 changed files with 0 additions and 2 deletions
|
@ -272,8 +272,6 @@ public class BoardActivity extends XWActivity
|
||||||
Utils.logf( "BoardActivity::onCreate()" );
|
Utils.logf( "BoardActivity::onCreate()" );
|
||||||
super.onCreate( savedInstanceState );
|
super.onCreate( savedInstanceState );
|
||||||
|
|
||||||
setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_PORTRAIT );
|
|
||||||
|
|
||||||
if ( CommonPrefs.getHideTitleBar( this ) ) {
|
if ( CommonPrefs.getHideTitleBar( this ) ) {
|
||||||
requestWindowFeature( Window.FEATURE_NO_TITLE );
|
requestWindowFeature( Window.FEATURE_NO_TITLE );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue