Any way to protect app from being killed by low memory killer?
<p>Yes, protect from being killed by the low memory killer. Are there any options in AndroidManifest.xml?</p>

<p>May app contains a service, which need to run all the time in the background.</p>

<p>My app is placed in system/app, running an important service. This is our design.</p>

<p>There are lots of apps running, I can't control others to save memory, but I want a way to let Android not kill me, just as Phone app and SystemUi.</p>

<p>In Android, apps with lower oom_adi are less likely being killed. To do so, just set (<code>application android:persistent="true"</code>).</p>
