Closed GoogleCodeExporter closed 9 years ago
The reason BluezIME shows that icon, is that Android will think it is inactive
and kill the Bluez IME process after a little while. When it shows that icon,
it is not killed.
I assume that if you hide it from the bar, there may be some process priority
that changes as well, which cause you to get lags. I don't have any idea for
how to change that.
Original comment by kenneth@hexad.dk
on 10 Apr 2012 at 11:32
noob question: is not possible to increase BluezIME process priority?
Original comment by Valke...@gmail.com
on 10 Apr 2012 at 2:45
It looks as if you can actually set the thread priority:
http://developer.android.com/reference/android/os/Process.html#setThreadPriority
(int, int)
Not sure if Android just accepts it though. Attached is a version that sets the
reader thread priority to -20 (highest priority).
Original comment by kenneth@hexad.dk
on 16 Apr 2012 at 8:27
Attachments:
Thank you for trying but unfortunately it doesn`t fix the issue...
Original comment by Valke...@gmail.com
on 17 Apr 2012 at 9:12
I was hoping to test out this version against the stock version for some lag
problems I was experiencing, but now that the store version is at 1.17 it makes
a real A/B comparison somewhat difficult. Could this change possibly be made
against the 1.17 build for comparison? Thank you.
Original comment by slink...@gmail.com
on 10 Apr 2013 at 11:11
The notification icon is displayed to keep Bluez-IME active (in the eyes of
Android), so it gets fair priority and is not killed. It appears that hiding
the status bar somehow removes these properties.
Setting the priority did not work, because Android generally ignores these
hints and applies custom scheduling to avoid rouge apps from eating the battery.
I cannot fix it.
Original comment by kenneth@hexad.dk
on 2 May 2013 at 9:28
Original issue reported on code.google.com by
Valke...@gmail.com
on 10 Apr 2012 at 10:09