I have an application which is using for performance testing. However, this application always be kill in the background in about 5 min later. I want to know how to let it stay alive.(In API 23)
I have tried startForeground(), but it seems didn't work. I logout the oom_adj and oom_score_adj and get the result 3 and 200. Did it do some effect?