0

I keep getting grey pop-up error messages from an essential app I don't want to uninstall ("xDrip+: No sensor found"). The messages keep displaying outside of the app which is annoying. Is there a way to disable those messages?

I tried finding that out myself but I couldn't even find what this element is called. Any help, even just saying what this message type is called by Android would be a step forward.

I'm quite surprised that apps are allowed to display those intrusive messages whenever they want.

edit: The alert is called a toast.

enter image description here

  • 1
    FYI, it's a toast message. – Andrew T. Oct 18 at 7:59
  • Thanks! I only found a snackbar and that wasn't it! – Cornelius Roemer Oct 18 at 9:03
  • xDrip+ is an app, most likely you have it installed: github.com/NightscoutFoundation/xDrip – Robert Oct 18 at 9:14
  • Hi Robert, I stated I don't want to uninstall the app. I'm looking for a way to disable its toasts (at least outside the app itself) without having to uninstall it. The toasts feel very crude and more like last century UI to me - so I'm surprised they are actually part of Android. – Cornelius Roemer Oct 18 at 12:03
  • 2
    Setup adb in your PC, and issue this command: adb shell appops set PKG_NAME TOAST_WINDOW deny to prevent toasts from reappearing. Replace PKG_NAME with the package name of the xdrip+ app. To find it, follow my answer here. – Firelord Oct 18 at 12:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.