ANR: Broadcast of Intent android.intent.action.SCREEN_OFF

Unlike the topicstarter with SCREEN_OFF my favorite ANR is "
Broadcast of Intent { act=android.intent.action.SCREEN_ON …}"

Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x58200010 }
Android 9, 6 users impacted 

"main" prio=5 tid=1 Native
  | group="main" sCount=1 dsCount=0 flags=1 obj=0x74aeb550 self=0xec1cd000
  | sysTid=11578 nice=0 cgrp=default sched=0/0 handle=0xf032a494
  | state=S schedstat=( 3655555365 2721586037 13274 ) utm=270 stm=95 core=0 HZ=100
  | stack=0xff6f6000-0xff6f8000 stackSize=8MB
  | held mutexes=
  #00  pc 0000000000019d3c  /system/lib/libc.so (syscall+28)
  #01  pc 000000000001d1e7  /system/lib/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+86)
  #02  pc 0000000000062d57  /system/lib/libc.so (pthread_cond_wait+32)
  #03  pc 0000000000140754  /data/app/com.dragosha.hamster-lchKpf1g9n9PjY8vLgnVNw==/lib/arm/libLookYourLoot.so (???)
  #04  pc 000000000007a32b  /system/lib/libandroid_runtime.so (android::NativeCode::~NativeCode()+26)
  #05  pc 0000000000079d81  /system/lib/libandroid_runtime.so (android::unloadNativeCode_native(_JNIEnv*, _jobject*, long long)+16)
  at android.app.NativeActivity.unloadNativeCode (Native method)
  at android.app.NativeActivity.onDestroy (NativeActivity.java:195)
  at android.app.Activity.performDestroy (Activity.java:7417)
  at android.app.Instrumentation.callActivityOnDestroy (Instrumentation.java:1323)
  at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:4579)
  at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:4612)
  at android.app.servertransaction.DestroyActivityItem.execute (DestroyActivityItem.java:39)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1906)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:6863)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:537)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
Broadcast of Intent { act=android.intent.action.SCREEN_ON flg=0x50200010 }
|Android 8.0|4|66.7%|
|Android 7.0|2|33.3%|
	

"main" prio=5 tid=1 Native
  | group="main" sCount=1 dsCount=0 flags=1 obj=0x74258488 self=0xe80f3000
  | sysTid=18446 nice=-10 cgrp=default sched=0/0 handle=0xebfe94a8
  | state=S schedstat=( 0 0 0 ) utm=198 stm=88 core=0 HZ=100
  | stack=0xff637000-0xff639000 stackSize=8MB
  | held mutexes=
  #00  pc 0000000000018e18  /system/lib/libc.so (syscall+28)
  #01  pc 00000000000492a5  /system/lib/libc.so (_ZL24__pthread_cond_timedwaitP23pthread_cond_internal_tP15pthread_mutex_tbPK8timespec+102)
  #02  pc 0000000000140548  /data/app/com.dragosha.hamster-Qc-whdz9yrtqYLasyzhv7A==/lib/arm/libLookYourLoot.so (???)
  #03  pc 00000000001b5683  /system/framework/arm/boot-framework.oat (Java_android_app_NativeActivity_onPauseNative__J+82)
  at android.app.NativeActivity.onPauseNative (Native method)
  at android.app.NativeActivity.onPause (NativeActivity.java:202)
  at com.dynamo.android.DefoldActivity.onPause (DefoldActivity.java:243)
  at android.app.Activity.performPause (Activity.java:7120)
  at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1408)
  at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4064)
  at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4041)
  at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4015)
  at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:3989)
  at android.app.ActivityThread.-wrap15 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1628)
  at android.os.Handler.dispatchMessage (Handler.java:105)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:6759)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:770)
2 Likes