Skip to content

Commit 941c442

Browse files
authored
Add ALERT SoundType enum value (flutter#20139)
flutter#62143
1 parent adb5986 commit 941c442

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shell/platform/android/io/flutter/embedding/engine/systemchannels/PlatformChannel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ public interface PlatformMessageHandler {
430430

431431
/** Types of sounds the Android OS can play on behalf of an application. */
432432
public enum SoundType {
433-
CLICK("SystemSoundType.click");
433+
CLICK("SystemSoundType.click"),
434+
ALERT("SystemSoundType.alert");
434435

435436
@NonNull
436437
static SoundType fromValue(@NonNull String encodedName) throws NoSuchFieldException {

0 commit comments

Comments
 (0)