How do I avoid that my App enters optimization on Samsung devices : <p>Smart manager kills an app that hasn't been used for 3 days. My app does some background work and hence, the user doesn't need to open it.</p>

<p>What can I do so that it doesn't enter app optimization mode ( Android OS 5.0.2, 5.1.1)</p>
