https://kotlinlang.org logo
#compose-wear
Title
# compose-wear
t

Tolriq

09/30/2022, 5:56 AM
Not strictly compose related but I was hoping that migration to Compose would have fixed it. I get ANR on the watches
Copy code
android.hardware.display.DisplayManagerGlobal.getDisplayInfo
Broadcast of Intent { act=android.intent.action.SCREEN_OFF }
Thread
Copy code
"main" tid=1 Blocked
Copy code
at android.hardware.display.DisplayManagerGlobal.getDisplayInfo (DisplayManagerGlobal.java:146)
  at android.view.Display.updateDisplayInfoLocked (Display.java:1251)
  at android.view.Display.getState (Display.java:1206)
  at android.view.ViewRootImpl$1.onDisplayChanged (ViewRootImpl.java:1604)
  at android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate.handleMessage (DisplayManagerGlobal.java:767)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:246)
  at android.app.ActivityThread.main (ActivityThread.java:7690)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:593)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:995)
Since I do not register that intent myself any idea what does and how to prevent it?
y

yschimke

09/30/2022, 8:25 AM
t

Tolriq

09/30/2022, 8:33 AM
Thanks don't know how I missed that one 😞 My Play Console no more display the devices but I'll assume this is it.
t

Thomas

10/08/2022, 8:39 PM
It is device related (Samsung Watch4/5), not much you can do unfortunately. Watch4 already received system update with fix, but Watch5 was released with the bug still in.
Unfortunately nobody from Google on the issue tracker seems to respond anymore so I don’t know what to do.
7 Views