From 0f91ddc4337990e0fa9e3f5216962a2c007ea7ea Mon Sep 17 00:00:00 2001 From: Greg Alexander Date: Sun, 1 Sep 2019 16:10:00 -0400 Subject: [PATCH] document that broadcast intents only work if Foreground Service is enabled --- doc/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/index.html b/doc/index.html index fa2b029..ac72109 100644 --- a/doc/index.html +++ b/doc/index.html @@ -158,6 +158,9 @@ commandline tool am.

app: org.galexander.sshd
category: android.intent.category.DEFAULT (optional).

+

Note that these intents will only work on phones with Android 8 (Oreo) +or later if Settings -> Foreground Service is enabled.

+

For example, to start sshd service under shell, you could run:

am broadcast -a org.galexander.sshd.START org.galexander.sshd