From 1309783e3f43a4c59ba885580d9f530c0bdc3424 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 26 Aug 2013 22:00:16 -0400 Subject: Android: Fix bug in terminal app that caused it to spin using much CPU and battery. This problem was introduced in version 4.20130601. --- standalone/android/term.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'standalone') 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)); -- cgit v1.2.3