REmove pregenerated XashConfig, choose Legacy theme if sdk < 21
This commit is contained in:
parent
58f8f87e61
commit
19bae91be1
4 changed files with 3 additions and 20 deletions
|
@ -44,6 +44,7 @@ public class FPicker extends Activity {
|
|||
super.onCreate(savedInstanceState);
|
||||
if ( sdk >= 21 )
|
||||
super.setTheme( 0x01030224 );
|
||||
else super.setTheme( 0x01030005 );
|
||||
|
||||
setContentView(R.layout.activity_fpicker);
|
||||
String path = Environment.getExternalStorageDirectory().toString();
|
||||
|
|
|
@ -86,9 +86,8 @@ public class LauncherActivity extends Activity {
|
|||
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
//super.setTheme( 0x01030005 );
|
||||
if ( sdk >= 21 )
|
||||
{
|
||||
super.setTheme( 0x01030224 );
|
||||
}
|
||||
else super.setTheme( 0x01030005 );
|
||||
|
||||
if( XashActivity.dumbAntiPDALifeCheck( this ) )
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@ public class ShortcutActivity extends Activity
|
|||
//material dialog
|
||||
if ( sdk >= 21 )
|
||||
super.setTheme( 0x01030225 );
|
||||
else super.setTheme( 0x01030005 );
|
||||
setContentView(R.layout.activity_shortcut);
|
||||
Intent intent=getIntent();
|
||||
name = (EditText)findViewById(R.id.shortcut_name);
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
package in.celest.xash3d;
|
||||
|
||||
|
||||
/* TODO: This file should be generated... somehow */
|
||||
public class XashConfig
|
||||
{
|
||||
// in.celest.xash3d.hl.test otherwise main package
|
||||
public static final boolean PKG_TEST = false;
|
||||
|
||||
// check signature enable
|
||||
public static final boolean CHECK_SIGNATURES = false;
|
||||
|
||||
// public release
|
||||
public static final boolean RELEASE = false;
|
||||
|
||||
// public release for Google Play
|
||||
public static final boolean GP_VERSION = false;
|
||||
}
|
Loading…
Add table
Reference in a new issue