Skip to content

Commit

Permalink
Refactor TermuxService
Browse files Browse the repository at this point in the history
- Dedicated functions have been created for various actions and commands.
- The `startForeground()` call will be made both on `onCreate()` and `onStartCommand().
- The `stopForeground()` call will be made before every `onSelf()` call.
- The references to `TermuxActivity` will now be removed in `onUnbind()` as well if activity `onDestroy()` failed to do so.
- Appropriate log entries are added to help debug issues.
  • Loading branch information
agnostic-apollo committed Mar 19, 2021
1 parent bc02508 commit d9b5344
Show file tree
Hide file tree
Showing 2 changed files with 283 additions and 158 deletions.
Loading

0 comments on commit d9b5344

Please sign in to comment.