Add @override annotation to onStartCommand() function of RunCommandService.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user