title: how to unlock phone from service
body: <p>i have a foreground service detecting a shake event in order to lock / unlock the screen... i can lock the screen but im not finding a way to wake screen up:</p>
  <p>my service:</p>
  <pre><code>if (mAccel &gt; 31) {
  if (count==&quot;1&quot;){   count = &quot;2&quot;;
  ToneGenerator toneGen1 = new ToneGenerator(AudioManager.STREAM_MUSIC, 100);
  toneGen1.startTone(ToneGenerator.TONE_CDMA_PIP,150);
  deviceManger .lockNow() ;
  } else if (
  count==&quot;2&quot;) {
  count = &quot;1&quot;;
  ToneGenerator toneGen1 = new ToneGenerator(AudioManager.STREAM_MUSIC, 100);
  toneGen1.startTone(ToneGenerator.TONE_CDMA_PIP,250);
  };
  </code></pre>