I am trying to add a widget programmatically through the AppWidgetManager.requestPinAppWidget.
I noticed that for newer devices s21 and s10 lite, whenever a widget is added by the user through my app, a toast saying " was added to home screen." is automatically shown (system initiated). However, I noticed that on a S7 Android 8 after successfully adding the widget, no toast is shown but the action successfully took place.
Is this toast behavior device specific or OS specific or both?.