java.lang.RuntimeException on android.hardware.display.DisplayManagerGlobal.getDisplayInfo. Mostly RedMi devices.

127 views
Skip to first unread message

Diego

unread,
Feb 17, 2020, 9:01:43 AM2/17/20
to Google Mobile Ads SDK Developers
Hello,

I have been facing a long term recurrent issue, mostly but not exclusive to Redmi Note 7 devices, where I receive crashes in my android developer console with the following detail:


java.lang.RuntimeException
android.hardware.display.DisplayManagerGlobal.getDisplayInfo

java.lang.RuntimeException:
at android.hardware.display.DisplayManagerGlobal.getDisplayInfo (DisplayManagerGlobal.java:140)
at android.hardware.display.DisplayManagerGlobal.getCompatibleDisplay (DisplayManagerGlobal.java:199)
at android.app.ResourcesManager.getAdjustedDisplay (ResourcesManager.java:293)
at android.app.ContextImpl.getDisplay (ContextImpl.java:2235)
at android.view.WindowManagerImpl.getDefaultDisplay (WindowManagerImpl.java:149)
at com.google.android.gms.ads.omid.library.utils.b.a (b.java:14)
at com.google.android.gms.ads.omid.library.walking.d.run (d.java:25)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:201)
at android.app.ActivityThread.main (ActivityThread.java:6810)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:873)




I have updated my app with the latest version of the Admob SDK to see if the Admob banners I place stop producing those crashes and I may have seen a decrease from the previous Admob SDK version but the issue is definitely still there.

It makes things particularly weird that the defect is not completely isolated to Xiaomi devices, but it definetely impacts those in most instances, the top 3 are:
Redmi Note 7 (lavender)13066.0%
Redmi Note 5 Pro (whyred)2311.7%
MI 8 Lite (platina)189.1%


Any help will be greatly appreciated.

Thanks,
Diego,

Mobile Ads SDK Forum Advisor Prod

unread,
Feb 17, 2020, 10:46:15 PM2/17/20
to diego.x...@gmail.com, google-adm...@googlegroups.com

Hi Diego,

 

Thank you for reaching out to us.

 

Could you kindly provide the details below (via Reply privately to author) so that I can investigate the issue?

  • AdMob SDK version
  • Logcat logs
  • Copy of sample project (reproducing the issue)
  • Steps to replicate the issue

 

In case of the issue being non-reproducible on your end, you may gather the above information from your affected users as well.

 

Regards,

Ziv Yves Sanchez

Mobile Ads SDK Team



ref:_00D1U1174p._5001UV1Gk9:ref
Reply all
Reply to author
Forward
0 new messages