Commit e0436492 authored by zeroleak's avatar zeroleak
Browse files

fix NPE

parent 51dab30b
......@@ -129,7 +129,7 @@ public class WhirlpoolNotificationService extends Service {
public int onStartCommand(Intent intent, int flags, int startId) {
if(intent.getAction() !=null){
if(intent != null && intent.getAction() !=null){
if (Objects.requireNonNull(intent.getAction()).equals(WhirlpoolNotificationService.ACTION_START)) {
Disposable startDisposable = AndroidWhirlpoolWalletService.getInstance()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment