Last Updated: February 25, 2016
·
745
· monxalo

IntentService low priority

If you use IntentService and find that usually clunks the UI, i found out that creating your own IntentService and Process.THREAD_PRIORITY_BACKGROUND
into the ServiceHandler gives a nice boost in UI performance.

Other (less prettier) solution you can call Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND) in onHandleIntent() method.