mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-08 12:18:07 -05:00
IRCService: Fixed a NullPointerException
This commit is contained in:
parent
46cb3f9f17
commit
ce0650d711
@ -141,7 +141,9 @@ public class IRCService extends Service
|
||||
*/
|
||||
public int onStartCommand(Intent intent, int flags, int startId)
|
||||
{
|
||||
handleCommand(intent);
|
||||
if (intent != null) {
|
||||
handleCommand(intent);
|
||||
}
|
||||
|
||||
// We want this service to continue running until it is explicitly
|
||||
// stopped, so return sticky.
|
||||
|
Loading…
Reference in New Issue
Block a user