mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
Add @override annotation to onStartCommand() function of RunCommandService.
This commit is contained in:
parent
6e02b99ff6
commit
7063a3a9da
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue