add constant to disable dualpane on debug builds too

This commit is contained in:
Eric House 2016-04-06 11:03:02 -07:00
parent f6cbe2ec61
commit 7b045fb413
2 changed files with 2 additions and 1 deletions

View file

@ -33,7 +33,7 @@ public class Main extends Activity {
{
super.onCreate( savedInstanceState );
if ( BuildConfig.DEBUG ) {
if ( BuildConfig.DEBUG && XWApp.OFFER_DUALPANE ) {
setContentView( R.layout.main );
findViewById( R.id.activity_button )

View file

@ -45,6 +45,7 @@ public class XWApp extends Application {
public static final boolean SMS_INVITE_ENABLED = true;
public static final boolean LOCUTILS_ENABLED = false;
public static final boolean CONTEXT_MENUS_ENABLED = true;
public static final boolean OFFER_DUALPANE = false;
public static final String SMS_PUBLIC_HEADER = "-XW4";
public static final int MAX_TRAY_TILES = 7; // comtypes.h