From 752bbf32de44026a656fdfd5fdd71eb35d8d9225 Mon Sep 17 00:00:00 2001 From: Todd Volkert Date: Wed, 29 Jul 2020 23:55:38 -0700 Subject: [PATCH] Add ALERT SoundType enum value (flutter/engine#20139) https://github.com/flutter/flutter/issues/62143 --- .../embedding/engine/systemchannels/PlatformChannel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/PlatformChannel.java b/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/PlatformChannel.java index f7eff27e604..ddb39fd0e50 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/PlatformChannel.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/PlatformChannel.java @@ -430,7 +430,8 @@ public class PlatformChannel { /** Types of sounds the Android OS can play on behalf of an application. */ public enum SoundType { - CLICK("SystemSoundType.click"); + CLICK("SystemSoundType.click"), + ALERT("SystemSoundType.alert"); @NonNull static SoundType fromValue(@NonNull String encodedName) throws NoSuchFieldException {