Skip to content

Commit

Permalink
Merge pull request #477 from sarthakydv/bug-Android-14]-service-crash…
Browse files Browse the repository at this point in the history
…-due-to-START_STICKY

fix: [Android-14]-service-crash-due-to-START_STICKY
  • Loading branch information
ekasetiawans authored Aug 29, 2024
2 parents f9ac7e3 + a000a6b commit 0603654
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public int onStartCommand(Intent intent, int flags, int startId) {
WatchdogReceiver.enqueue(this);
runService();

return START_STICKY;
return START_NOT_STICKY;
}

@SuppressLint("WakelockTimeout")
Expand Down

0 comments on commit 0603654

Please sign in to comment.