Search code examples
androidkotlinandroid-anr-dialogandroid-automotiveautomotive

Will an ANR dialog show up in production for users? Do phones matter, what on Android Automotive?


the main question I'm asking is:

  • Does Google prevent ANR dialogs to show up on the customer side when my app is released?
  • Do manufacturers disable ANR dialogs at some point on the customers side (I think I remember Huawei / Honor was doing something like that)
  • If not, is there a way to prevent ANR dialogs on the customer side (production app)?
  • Does anyone know what happens with Android Automotive? Is it possible to show ANRs there?

Thanks a lot for your feedback, really appreciate your feedback and help!


Solution

  • answering officially for question: starting Android P system won't show ANR dialog, well, by default. There are some options in Developer options for bringing crash/ANR dialogs back and you never know when some Manufacturer turn these on by default (I very doubt for common devices/smartphones, but some "special case" units or "modded" OS versions, which Android Automotive kind-of is, are possible to have such flag turned on)