diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 440ee202cc5bb..e78fb179eb6cf 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -8657,13 +8657,13 @@ public class Notification implements Parcelable * where the platform doesn't support the MIME type, the original text provided in the * constructor will be used. * @param dataMimeType The MIME type of the content. See - * for the list of supported MIME - * types on Android and Android Wear. + * {@link android.graphics.ImageDecoder#isMimeTypeSupported(String)} for a list of + * supported image MIME types. * @param dataUri The uri containing the content whose type is given by the MIME type. *

+ * Notification Listeners including the System UI need permission to access the + * data the Uri points to. The recommended ways to do this are: *

    - *
  1. Notification Listeners including the System UI need permission to access the - * data the Uri points to. The recommended ways to do this are:
  2. *
  3. Store the data in your own ContentProvider, making sure that other apps have * the correct permission to access your provider. The preferred mechanism for * providing access is to use per-URI permissions which are temporary and only