title: MIUI Permission Denied Activity KeyguardLocked
body: <p>When application is in background and screen is locked,I'm unable to start activity, there is no exception or warning, onCreate() is just not called. I've been struggling against this problem for while, and I think I've finally found the source of it.
  There is a line in logs:</p>
  
  <pre><code>D/com.android.server.am.ExtraActivityManagerService: MIUILOG- Permission Denied Activity KeyguardLocked: Intent { flg=0x14010000 cmp=com.trueconf.videochat/com.trueconf.gui.activities.Call (has extras) } pkg : com.trueconf.videochat uid : 10634
  </code></pre>
  
  <p>Is this why I can't start an activity? Also, how do I solve this, should I disable keyguard or something?</p>