Greg Alexander
|
01b3a65a05
|
make all startService calls go through
SimpleSSHDService.do_startService() so they can be forced through
startForegroundService or what-have-you.
|
5 years ago |
Greg Alexander
|
823591055a
|
Factor out the idiom for startService() vs startForegroundService(), and
use it in StartReceive/StopReceiver as well as BootReceiver, so that the
sshd service can be started and stopped even if the UI is closed.
|
5 years ago |
Greg Alexander
|
445c2957ec
|
Don't call startForegroundService() except on Oreo and above, because
that's when it was added.
|
5 years ago |
Greg Alexander
|
83b5dd496d
|
If asked to start at boot in background on Oreo, give a toast so the user
knows why it doesn't work.
|
5 years ago |
Greg Alexander
|
e0151fa757
|
Now can start-on-boot on Oreo/Pie, with the caveat that start-on-boot
requires foreground-service.
|
5 years ago |
Greg Alexander
|
be43d90c70
|
Manually convert from ant to gradle, roughly.
NB - Play store currently requires targetSdkVersion>=26, but will soon
(August) require >=28.
|
5 years ago |