mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
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