mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
fix NPE
This commit is contained in:
parent
859e32e785
commit
495eab9d9b
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public class NBSService extends Service {
|
|||
public int onStartCommand( Intent intent, int flags, int startId )
|
||||
{
|
||||
int result;
|
||||
if ( XWApp.NBSSUPPORTED ) {
|
||||
if ( XWApp.NBSSUPPORTED && null != intent ) {
|
||||
int cmd = intent.getIntExtra( CMD_STR, -1 );
|
||||
switch( cmd ) {
|
||||
case HANDLE:
|
||||
|
|
Loading…
Add table
Reference in a new issue