How to detect "sensitive notification content hidden" on Android 15?
my app uses a NotificationListener. Android 15 now removes sensitive information like OTP codes from the notification. My NotificationListener only sees "sensitive notification content hidden", but this text is different in every language. How can I reliably detect if the content was removed? Is there some new method? Android doesn't really have any documentation about this new "privacy" feature, but it is really important for my app to know if it's the actual content of the message or not.
Source: View source