From 7ec2d360bce51f010554be8d80572af4748a4a95 Mon Sep 17 00:00:00 2001 From: Todd Volkert Date: Wed, 29 Jul 2020 23:25:38 -0700 Subject: [PATCH] Add comment to developers about adding new system sound types (#62552) flutter/flutter#62143 --- packages/flutter/lib/src/services/system_sound.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/flutter/lib/src/services/system_sound.dart b/packages/flutter/lib/src/services/system_sound.dart index 536bc3ddc5..64ce10437b 100644 --- a/packages/flutter/lib/src/services/system_sound.dart +++ b/packages/flutter/lib/src/services/system_sound.dart @@ -22,6 +22,9 @@ enum SystemSoundType { /// web platform does not support playing any sounds, so this will be /// ignored on the web as well. alert, + + // If you add new values here, you also need to update the `SoundType` Java + // enum in `PlatformChannel.java`. } /// Provides access to the library of short system specific sounds for common