Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 601019d2 authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Update documentation for setSound" into main

parents ded43d4e 0b4bb471
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -562,6 +562,12 @@ public final class NotificationChannel implements Parcelable {
     * audio attributes. Notification channels with an {@link #getImportance() importance} of at
     * least {@link NotificationManager#IMPORTANCE_DEFAULT} should have a sound.
     *
     * Note: An app-specific sound can be provided in the Uri parameter, but because channels are
     * persistent for the duration of the app install, and are backed up and restored, the Uri
     * should be stable. For this reason it is not recommended to use a
     * {@link ContentResolver#SCHEME_ANDROID_RESOURCE} uri, as resource ids can change on app
     * upgrade.
     *
     * Only modifiable before the channel is submitted to
     * {@link NotificationManager#createNotificationChannel(NotificationChannel)}.
     */