Add @override annotation to onStartCommand() function of RunCommandService.

This commit is contained in:
agnostic-apollo
2020-09-18 22:25:05 +05:00
parent 6e02b99ff6
commit 7063a3a9da

View File

@@ -87,6 +87,7 @@ public class RunCommandService extends Service {
runStartForeground();
}
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
// Run again in case service is already started and onCreate() is not called
runStartForeground();