Since updating to Android N, I am now seeing the following message sometimes occurring in logcat:
NotificationService: WARNING: In a future release this will crash the app: ...
I have tried putting debug statements to isolate what I am doing that is causing this, but so far have been unsuccessful. In addition, the message does not reliably reproduce under the original conditions in which it was observed.
In looking at the changes in Android 7.0, I don't see anything that appears to be applicable to this situation.
How can I determine what is causing the message?