mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 10:45:23 +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();
|
runStartForeground();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int onStartCommand(Intent intent, int flags, int startId) {
|
public int onStartCommand(Intent intent, int flags, int startId) {
|
||||||
// Run again in case service is already started and onCreate() is not called
|
// Run again in case service is already started and onCreate() is not called
|
||||||
runStartForeground();
|
runStartForeground();
|
||||||
|
Reference in New Issue
Block a user