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

Commit 0b4bb471 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Update documentation for setSound

Test: make
Flag: None
Fixes: 324900546
Change-Id: I2f8da556d67e7dac9e5829ddf1c2392408f8fcb7
parent c675a6c2
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)}.
     */