TvToast displays a custom Toast on Android TV devices. It does so by modifying the Toast.getView()'s message TextView.
On Android 30+ it is no longer allowed to access toast's view via getView() and it led to crashes (see #2161). Custom toasts were disabled for devices running API 30+
We should try to build custom toasts on API 30+ devices as well, probably by doing the same thing we do for mobile LeakCanary custom toast.
The text was updated successfully, but these errors were encountered:
Problem description
TvToast displays a custom Toast on Android TV devices. It does so by modifying the
Toast.getView()'s message TextView.On Android 30+ it is no longer allowed to access toast's view via
getView()and it led to crashes (see #2161). Custom toasts were disabled for devices running API 30+We should try to build custom toasts on API 30+ devices as well, probably by doing the same thing we do for mobile LeakCanary custom toast.
The text was updated successfully, but these errors were encountered: