summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-31 21:28:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-31 21:30:21 -0400
commit03da93e798950fa10d5ab8ecf6e18fb3b02b1d9b (patch)
tree816518d430ca0afd6f76845274707c5bc543e1b8 /Utility
parent2b990dc0149e20a3a0949f898f5950670da57c64 (diff)
Android: Work around Android devices where the `am` command doesn't work.
Diffstat (limited to 'Utility')
-rw-r--r--Utility/WebApp.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utility/WebApp.hs b/Utility/WebApp.hs
index 762819b2f..4c112bbe6 100644
--- a/Utility/WebApp.hs
+++ b/Utility/WebApp.hs
@@ -49,6 +49,7 @@ browserProc :: String -> CreateProcess
browserProc url = proc "open" [url]
#else
#ifdef __ANDROID__
+-- Warning: The `am` command does not work very reliably on Android.
browserProc url = proc "am"
["start", "-a", "android.intent.action.VIEW", "-d", url]
#else