wieldersaturday I was curious so I checked the code for this. In short, it doesn't appear you can.
Firstly, when a person taps "Don't show again" for sensors, a flag, PackageManager.FLAG_PERMISSION_USER_SET
, is set. So, next time the notification won't display because the permission is flagged as having been set by the user.
The other notification is a bit more complicated, so I just checked it out for a little while but didn't continue reading through it, so I might be a bit off with this one. It seems that they set a (custom?) flag of some sort in package manager to indicate that the user has already "suppressed" the notification.
As far as I know, there is no way for us to change or remove either of those flags. It might be possible in ADB, but I haven't checked or tried.
Anyway, here's the code if you're curious: