Android: Fix bug in terminal app that caused it to spin using much CPU and battery. This problem was introduced in version 4.20130601.
This commit is contained in:
parent
d7aa28e00c
commit
9e8521910d
3 changed files with 6 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -8,6 +8,8 @@ git-annex (4.20130816) UNRELEASED; urgency=low
|
||||||
* unused: Is now a minimum of 30 times faster, and typically many
|
* unused: Is now a minimum of 30 times faster, and typically many
|
||||||
more times than that (when a repository has several branches).
|
more times than that (when a repository has several branches).
|
||||||
(Thanks, guilhem for the patch.)
|
(Thanks, guilhem for the patch.)
|
||||||
|
* Android: Fix bug in terminal app that caused it to spin using much
|
||||||
|
CPU and battery. This problem was introduced in version 4.20130601.
|
||||||
* unused: Fix bugs in two edge cases involving manually staged changes.
|
* unused: Fix bugs in two edge cases involving manually staged changes.
|
||||||
(Thanks, guilhem for the patch.)
|
(Thanks, guilhem for the patch.)
|
||||||
* Debian: Run the builtin test suite as an autopkgtest.
|
* Debian: Run the builtin test suite as an autopkgtest.
|
||||||
|
|
|
@ -23,3 +23,6 @@ the current (4.20130826-g46f422) version on Android.
|
||||||
|
|
||||||
# End of transcript or log.
|
# End of transcript or log.
|
||||||
"""]]
|
"""]]
|
||||||
|
|
||||||
|
> [[done]]; I fixed the bug which turned out to be a stupid
|
||||||
|
> minunderstanding of how a java library worked. --[[Joey]]
|
||||||
|
|
|
@ -501,8 +501,8 @@ index 8a3a4ac..824025d 100644
|
||||||
+
|
+
|
||||||
+ /* Reading from the fifo blocks until a url is written
|
+ /* Reading from the fifo blocks until a url is written
|
||||||
+ * to it. */
|
+ * to it. */
|
||||||
+ BufferedReader buf = new BufferedReader(new FileReader(webAppFifo));
|
|
||||||
+ while (true) {
|
+ while (true) {
|
||||||
|
+ BufferedReader buf = new BufferedReader(new FileReader(webAppFifo));
|
||||||
+ String s = buf.readLine();
|
+ String s = buf.readLine();
|
||||||
+ try {
|
+ try {
|
||||||
+ Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(s));
|
+ Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(s));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue