title: cancel the events of lock/unlock on my android application
body: <p>When i unlock my device to see my application, the process in <code>onResume()</code> is launched. How do I cancel the events of unlock, to avoid <code>onResume()</code> from processing?</p>