This commit is contained in:
Eric House 2012-03-21 07:59:11 -07:00
parent 859e32e785
commit 495eab9d9b

View file

@ -119,7 +119,7 @@ public class NBSService extends Service {
public int onStartCommand( Intent intent, int flags, int startId ) public int onStartCommand( Intent intent, int flags, int startId )
{ {
int result; int result;
if ( XWApp.NBSSUPPORTED ) { if ( XWApp.NBSSUPPORTED && null != intent ) {
int cmd = intent.getIntExtra( CMD_STR, -1 ); int cmd = intent.getIntExtra( CMD_STR, -1 );
switch( cmd ) { switch( cmd ) {
case HANDLE: case HANDLE: