mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
debug features on by default on DEBUG builds
This commit is contained in:
parent
67be4d2249
commit
6567f6ffcf
2 changed files with 4 additions and 3 deletions
|
@ -53,7 +53,8 @@ public class XWPrefs {
|
|||
|
||||
public static boolean getDebugEnabled( Context context )
|
||||
{
|
||||
return getPrefsBoolean( context, R.string.key_enable_debug, false );
|
||||
return getPrefsBoolean( context, R.string.key_enable_debug,
|
||||
BuildConfig.DEBUG );
|
||||
}
|
||||
|
||||
public static boolean getSecondInviteAllowed( Context context )
|
||||
|
|
|
@ -379,12 +379,12 @@
|
|||
|
||||
<CheckBoxPreference android:key="@string/key_logging_on"
|
||||
android:title="@string/logging_on"
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="@bool/DEBUG"
|
||||
/>
|
||||
<CheckBoxPreference android:key="@string/key_enable_debug"
|
||||
android:title="@string/debug_features"
|
||||
android:summary="@string/debug_features_summary"
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="@bool/DEBUG"
|
||||
/>
|
||||
|
||||
<org.eehouse.android.xw4.XWEditTextPreference
|
||||
|
|
Loading…
Add table
Reference in a new issue