当前位置:   article > 正文

android intent { (has extras) },ANR Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x...

broadcast of intent

I have got some ANRs in my android vitals:

Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50200010 (has

extras) } or

Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50000010 }.

I have also have got some ANRs:

Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 }

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

getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);

in my onCreate to keep screen on.

I do not use any BroadcastReceiver in my app.

Any help?

Error logs from android vitals:

"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 <0x03bec179> (a com.myPackageName)

at com.myPackageName.framework.impl.GLGame.onPause (GLGame.java:714)

- locked <0x03bec179> (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)

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/235674
推荐阅读
相关标签
  

闽ICP备14008679号