title: Turning on screen from receiver/service
body: <p>I would like my app to be able to turn the screen on and display my app. Let's say I'm setting an alarm and every hour I want my app to be displayed for 2 mins before the device naturally sleeps.</p>
  
  <p>I see that WakeLock (FULL_LOCK) and KeyguardManager are deprecated.</p>
  
  <p>I have created a WakefulBroadcastReceiver and service and these are working.</p>
  
  <pre><code>@Override
  protected void onHandleIntent(Intent intent) {
      // I need to show the screen here!
  
      for (int i=0; i&lt;5; i++) {
          Log.i("SimpleWakefulReceiver", "Running service " + (i + 1)
                  + "/5 @ " + SystemClock.elapsedRealtime());
          try {
              Thread.sleep(5000);
          } catch (InterruptedException e) {
          }
      }
      Log.i("SimpleWakefulReceiver", "Completed service @ " + 
            SystemClock.elapsedRealtime());
      SimpleWakefulReceiver.completeWakefulIntent(intent);
  }
  </code></pre>
  
  <p>How do I programmatically turn on the screen, get past lock and display my Activity from the IntentService ?</p>
  
  <p>Thanks</p>