From a5c025c14c3d6f112f2bc08d7209a79c7914a904 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Mon, 5 Jun 2023 20:36:20 +0200 Subject: [PATCH] Disallowing MIDI permission by default --- ...sallowing-MIDI-permission-by-default.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 build/patches/00Disallowing-MIDI-permission-by-default.patch diff --git a/build/patches/00Disallowing-MIDI-permission-by-default.patch b/build/patches/00Disallowing-MIDI-permission-by-default.patch new file mode 100644 index 00000000..7131e00a --- /dev/null +++ b/build/patches/00Disallowing-MIDI-permission-by-default.patch @@ -0,0 +1,21 @@ +From: uazo +Date: Sat, 3 Jun 2023 13:11:22 +0000 +Subject: Disallowing MIDI permission by default + +--- + services/audio/public/cpp/audio_features.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/services/audio/public/cpp/audio_features.cc b/services/audio/public/cpp/audio_features.cc +--- a/services/audio/public/cpp/audio_features.cc ++++ b/services/audio/public/cpp/audio_features.cc +@@ -9,6 +9,6 @@ namespace features { + // Enables disallowing MIDI permission by default. + BASE_FEATURE(kBlockMidiByDefault, + "BlockMidiByDefault", +- base::FEATURE_DISABLED_BY_DEFAULT); ++ base::FEATURE_ENABLED_BY_DEFAULT); + + } // namespace features +-- +2.25.1