From 4eb0fd66a87cdbc76495dfcdf1de29bed98db739 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Wed, 17 Jan 2024 15:50:40 -0700 Subject: [PATCH] package/ivi-homescreen: add standard_method_codec.h to keyboard manager plugin The keyboard manager plugin is also missing the flutter/standard_method_codec.h header. - Add shell/plugins/keyboard_manager/keyboard_manager.h to the patch. - Rename the patch to 0001-add-missing-headers-to-the-audio-players-and-keyboar.patch Upstream pull request updated as well. Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- ...rs-to-the-audio-players-and-keyboar.patch} | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) rename package/ivi-homescreen/{0001-add-missing-headers-to-the-audio-players-plugin.patch => 0001-add-missing-headers-to-the-audio-players-and-keyboar.patch} (77%) diff --git a/package/ivi-homescreen/0001-add-missing-headers-to-the-audio-players-plugin.patch b/package/ivi-homescreen/0001-add-missing-headers-to-the-audio-players-and-keyboar.patch similarity index 77% rename from package/ivi-homescreen/0001-add-missing-headers-to-the-audio-players-plugin.patch rename to package/ivi-homescreen/0001-add-missing-headers-to-the-audio-players-and-keyboar.patch index c26fdba7f2..0d308b786b 100644 --- a/package/ivi-homescreen/0001-add-missing-headers-to-the-audio-players-plugin.patch +++ b/package/ivi-homescreen/0001-add-missing-headers-to-the-audio-players-and-keyboar.patch @@ -1,7 +1,8 @@ From 7e35ea4fbd94a1604907069bb9cc2e2dff4b43c7 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Sat, 6 Jan 2024 14:18:56 -0700 -Subject: [PATCH] add missing headers to the audio-players plugin +Subject: [PATCH] add missing headers to the audio-players and keyboard_manager + plugin Fixes flutter::StandardMethodCodec not being declared on the following lines: plugins/audio_players/audio_players_registry.cc:83 @@ -9,6 +10,7 @@ plugins/audio_players/audio_players_registry.cc:94 plugins/audio_players/audio_players_registry.cc:152 plugins/audio_players/audio_player.cc:257 plugins/audio_players/audio_player.cc:623 +plugins/keyboard_manager/keyboard_manager.cc:25 Upstream: https://github.com/toyota-connected/ivi-homescreen/pull/133 @@ -17,7 +19,8 @@ Signed-off-by: Adam Duskett shell/plugins/audio_players/audio_player.cc | 3 ++- shell/plugins/audio_players/audio_players.cc | 4 +++- shell/plugins/audio_players/audio_players_registry.cc | 3 ++- - 3 files changed, 7 insertions(+), 3 deletions(-) + shell/plugins/keyboard_manager/keyboard_manager.h | 3 ++- + 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/shell/plugins/audio_players/audio_player.cc b/shell/plugins/audio_players/audio_player.cc index 56027eb..a85e9ae 100644 @@ -77,6 +80,25 @@ index 6c9ef33..00c4f45 100644 -} // namespace Plugins \ No newline at end of file +} // namespace Plugins +diff --git a/shell/plugins/keyboard_manager/keyboard_manager.h b/shell/plugins/keyboard_manager/keyboard_manager.h +index 74b4e8d..cae1954 100644 +--- a/shell/plugins/keyboard_manager/keyboard_manager.h ++++ b/shell/plugins/keyboard_manager/keyboard_manager.h +@@ -17,6 +17,7 @@ + #pragma once + + #include "flutter/fml/macros.h" ++#include + + #include + +@@ -45,4 +46,4 @@ class KeyboardManager { + + private: + static constexpr char kGetKeyboardState[] = "getKeyboardState"; +-}; +\ No newline at end of file ++}; -- 2.43.0