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
|
cf84ff9379
|
fix restart after a crash (it would not restart if there was a stale pid
file from the previous execution)
|
5 years ago |
Greg Alexander
|
9b451c9b29
|
Define the channel for the notification, which requires using
NotificationCompat, which I decided to do using "AndroidX".
Anyways, this builds, but I don't know if it works.
|
5 years ago |
Greg Alexander
|
22d7993e23
|
Find native lib directory the correct way, using
Context.getApplicationInfo().nativeLibraryDir.
|
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 |