Loading core/java/android/app/Notification.java +4 −4 Original line number Diff line number Diff line Loading @@ -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 * <a href="{@docRoot}notifications/messaging.html"> 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. * <p class="note"> * Notification Listeners including the System UI need permission to access the * data the Uri points to. The recommended ways to do this are: * <ol> * <li>Notification Listeners including the System UI need permission to access the * data the Uri points to. The recommended ways to do this are:</li> * <li>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 Loading Loading
core/java/android/app/Notification.java +4 −4 Original line number Diff line number Diff line Loading @@ -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 * <a href="{@docRoot}notifications/messaging.html"> 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. * <p class="note"> * Notification Listeners including the System UI need permission to access the * data the Uri points to. The recommended ways to do this are: * <ol> * <li>Notification Listeners including the System UI need permission to access the * data the Uri points to. The recommended ways to do this are:</li> * <li>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 Loading