diff options
author | 2013-08-26 22:00:16 -0400 | |
---|---|---|
committer | 2013-08-26 22:00:16 -0400 | |
commit | 1309783e3f43a4c59ba885580d9f530c0bdc3424 (patch) | |
tree | aeaa9eaf91f1cdd661976fcfeb55b84b203df527 /standalone/android/term.patch | |
parent | e53405864239ea480e56b13962423228dee600d9 (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/android/term.patch')
-rw-r--r-- | standalone/android/term.patch | 2 |
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)); |