diff --git a/NOTES b/NOTES index 2a0bbc4..e4ff3ee 100644 --- a/NOTES +++ b/NOTES @@ -341,6 +341,22 @@ overnight drain. So, in case someone does have problems with it, I am making it an option that defaults to enabled. +Looking through email, I haven't seen any, but I have the idea several +users have asked for a notification icon in the past. And now that that +is finally implemented, I am curious about other things people have +requested that I have not been keen on. And Jan Ondrej's requests come +to mind: + o) setting to start the service automatically when the application is + launched + o) QUIT button that stops the service and the activity at once + o) not allow wifi to power down when the activity is open + +I'm really not crazy about integrating any kind of wakelock. And QUIT +still seems silly to me. But with the notification there, the idea that +someone will micromanage whether the service is running or not does not +seem so far fetched. + +So I'll go ahead and add "Start on Open" setting. XXX - make clicking on the notification go to the app? diff --git a/doc/index.html b/doc/index.html index 09ebf64..a82b1e3 100644 --- a/doc/index.html +++ b/doc/index.html @@ -58,6 +58,13 @@ On newer versions of Android (since Marshmallow), this may also make SimpleSSHD more responsive if the phone has been in Doze mode. It does not seem to increase battery consumption much. +
Start on Open
+
Run the SimpleSSHD service whenever the app is launched. The "STOP" +button will be replaced with a "QUIT" button that stops the service and +exits the app. This is useful if you want to only run the service when +you really need it -- start the app to start listening for connections, +and then click "QUIT" when you are done.
+
Port Number
This is the port number that SimpleSSHD will listen on. It must be greater than 1024 (because SimpleSSHD does not have root).
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index d83bb76..2c14afa 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -9,6 +9,11 @@ android:title="Foreground Service" android:summary="Enable a notification while running, and run with more priority (especially in Doze mode)." android:defaultValue="true" /> +