mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-01 06:19:57 +01:00
catch and discard all exceptions that come when initing GCM. Fringe
devices may do anthing at that point.
This commit is contained in:
parent
5afd93c5f5
commit
f64de16ce3
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ public class GCMIntentService extends GCMBaseIntentService {
|
|||
}
|
||||
} catch ( UnsupportedOperationException uoe ) {
|
||||
DbgUtils.logf( "Device can't do GCM." );
|
||||
} catch ( Exception whatever ) {
|
||||
// funky devices could do anything
|
||||
DbgUtils.loge( whatever );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue