debug pref to disable GCM so new stuff can be tested on-device

This commit is contained in:
Eric House 2013-01-25 07:17:00 -08:00
parent 83441c65ef
commit 4417591b06

View file

@ -39,6 +39,11 @@ public class XWPrefs {
return getPrefsBoolean( context, R.string.key_udp_relay, false );
}
public static boolean getGCMIgnored( Context context )
{
return getPrefsBoolean( context, R.string.key_drop_gcm, false );
}
public static boolean getDebugEnabled( Context context )
{
return getPrefsBoolean( context, R.string.key_enable_debug, false );