aboutsummaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-26 22:00:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-26 22:00:16 -0400
commit1309783e3f43a4c59ba885580d9f530c0bdc3424 (patch)
treeaeaa9eaf91f1cdd661976fcfeb55b84b203df527 /standalone
parente53405864239ea480e56b13962423228dee600d9 (diff)
Android: Fix bug in terminal app that caused it to spin using much CPU and battery. This problem was introduced in version 4.20130601.
Diffstat (limited to 'standalone')
-rw-r--r--standalone/android/term.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/standalone/android/term.patch b/standalone/android/term.patch
index b83c30e98..5f7d40335 100644
--- a/standalone/android/term.patch
+++ b/standalone/android/term.patch
@@ -501,8 +501,8 @@ index 8a3a4ac..824025d 100644
+
+ /* Reading from the fifo blocks until a url is written
+ * to it. */
-+ BufferedReader buf = new BufferedReader(new FileReader(webAppFifo));
+ while (true) {
++ BufferedReader buf = new BufferedReader(new FileReader(webAppFifo));
+ String s = buf.readLine();
+ try {
+ Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(s));