title: ANR Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50200010 (has extras) }
body: <p>I have got some ANRs in my android vitals:</p>
  
  <p>Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50200010 (has 
  extras) } or</p>
  
  <p>Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50000010 }.</p>
  
  <p>I have also have got some ANRs:</p>
  
  <p>Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 }</p>
  
  <p>It seems that those ANRs happen regularly.
  From my research i did not found a solution.
  Specifically i wonder if these ANRs are related with 
  <code>getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);</code>
  in my onCreate to keep screen on.
  I do not use any BroadcastReceiver in my app.
  Any help?</p>
  
  <p>Error logs from android vitals:</p>
  
  <pre><code>"main" tid=1 Waiting 
  "main" prio=5 tid=1 Waiting
    | group="main" sCount=1 dsCount=0 flags=1 obj=0x73c98680 self=0xee259000
    | sysTid=24710 nice=0 cgrp=default sched=0/0 handle=0xf26ff4bc
    | state=S schedstat=( 2919404633 900616698 9273 ) utm=197 stm=94 core=0 HZ=100
    | stack=0xff6b6000-0xff6b8000 stackSize=8MB
    | held mutexes=
    at java.lang.Object.wait (Native method)
  - waiting on &lt;0x03bec179&gt; (a com.myPackageName)
    at com.myPackageName.framework.impl.GLGame.onPause (GLGame.java:714)
  - locked &lt;0x03bec179&gt; (a com.myPackageName)
    at com.myPackageName.onPause (MyApp.java:39)
    at android.app.Activity.performPause (Activity.java:7399)
    at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1414)
    at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4115)
    at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4092)
    at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4066)
    at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4040)
    at android.app.ActivityThread.-wrap16 (ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1708)
    at android.os.Handler.dispatchMessage (Handler.java:105)
    at android.os.Looper.loop (Looper.java:164)
    at android.app.ActivityThread.main (ActivityThread.java:6944)
    at java.lang.reflect.Method.invoke (Native method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
  </code></pre>