When passing my phone to someone, I pin the screen for safety reasons. Is there a way to disable those ugly toasts which keep popping up and giving them a gist of what's happening?


1 Answer 1


You can setup and issue this command:

adb shell appops set android TOAST_WINDOW deny

You won't be having that toast anymore. However, this has the side effect of not being shown any toast that Android package would have displayed, so keep this under consideration.

You can replace deny with allow to revert the changes.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .