I was wondering if it is possible to set the priority of an IntentService
like you can with a Thread
. So far I have not found anything.
views:
83answers:
1
+1
A:
The HandlerThread
that IntentService
uses is not exposed to the SDK. It is set to Process.THREAD_PRIORITY_DEFAULT
as a priority.
Note that IntentService
is 143 lines of code, including whitespace and comments, so you might consider just cloning it to have one with the priority you seek.
CommonsWare
2010-09-01 21:03:53
Thanks Mark. Thats actually what I ended up doing.
smith324
2010-09-01 21:43:31