mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Intercept SystemSound.play platform message before it's sent. (flutter/engine#13342)
Fixes https://github.com/flutter/flutter/issues/43462
This commit is contained in:
parent
70232834ac
commit
791ae7a4a2
@ -141,6 +141,9 @@ class EngineWindow extends ui.Window {
|
||||
domRenderer.setTitle(arguments['label']);
|
||||
domRenderer.setThemeColor(ui.Color(arguments['primaryColor']));
|
||||
return;
|
||||
case 'SystemSound.play':
|
||||
// There are no default system sounds on web.
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user