Better Kindle fix: don't even post message if SMS not supported.

This commit is contained in:
Eric House 2012-11-07 19:46:33 -08:00
parent 949b804f35
commit aafcd5144a

View file

@ -95,7 +95,7 @@ public class SMSService extends Service {
public static void checkForInvites( Context context ) public static void checkForInvites( Context context )
{ {
if ( XWApp.SMSSUPPORTED ) { if ( XWApp.SMSSUPPORTED && Utils.deviceSupportsSMS( context ) ) {
Intent intent = getIntentTo( context, CHECK_MSGDB ); Intent intent = getIntentTo( context, CHECK_MSGDB );
context.startService( intent ); context.startService( intent );
} }