2 ms·
If someone wants to know the real definition they need to read the AOSP code. The code is the source of truth and it could potentially change in a future versio
by charcircuit 1y ago
If someone wants to know the real definition they need to read the AOSP code. The code is the source of truth and it could potentially change in a future versions if a new security concern came in.
https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/services/core/java/com/android/server/notification/NotificationManagerService.java;l=10104 https://cs.android.com/android/platform/superproject/main/+/...
Whether a toast is successfully toasted is reported back to the app's process, but the android framework doesn't expose this result to the app which implies that one shouldn't need to rely on the toast being shown or not.
- ashishb 1y ago> which implies that one shouldn't need to rely on the toast being shown or not. I wanted to display Toast if I can, and if not, a developer might prefer to display a Snackbar or a notification if a Toast cannot be displayed.