Merge "Removes comment dead link on MIME types" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
81bdc8e25e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user