~aleteoryx/muditaos

205b5fb58735706a7f5648cdc32da38ffddd56c7 — Lukasz Skrzypczak 4 years ago 50268e7
[BH-1018] Fix Bell BGSound Stack Smash

Increased application stack
M products/BellHybrid/apps/application-bell-background-sounds/ApplicationBellBackgroundSounds.cpp => products/BellHybrid/apps/application-bell-background-sounds/ApplicationBellBackgroundSounds.cpp +3 -2
@@ 22,8 22,9 @@ namespace app
    ApplicationBellBackgroundSounds::ApplicationBellBackgroundSounds(std::string name,
                                                                     std::string parent,
                                                                     StatusIndicators statusIndicators,
                                                                     StartInBackground startInBackground)
        : Application(std::move(name), std::move(parent), statusIndicators, startInBackground),
                                                                     StartInBackground startInBackground,
                                                                     uint32_t stackDepth)
        : Application(std::move(name), std::move(parent), statusIndicators, startInBackground, stackDepth),
          player{std::make_unique<bgSounds::BGSoundsPlayer>(this)}
    {
        bus.channels.push_back(sys::BusChannel::ServiceAudioNotifications);

M products/BellHybrid/apps/application-bell-background-sounds/include/application-bell-background-sounds/ApplicationBellBackgroundSounds.hpp => products/BellHybrid/apps/application-bell-background-sounds/include/application-bell-background-sounds/ApplicationBellBackgroundSounds.hpp +2 -1
@@ 27,7 27,8 @@ namespace app
        ApplicationBellBackgroundSounds(std::string name                    = applicationBellBackgroundSoundsName,
                                        std::string parent                  = "",
                                        StatusIndicators statusIndicators   = StatusIndicators{},
                                        StartInBackground startInBackground = {false});
                                        StartInBackground startInBackground = {false},
                                        uint32_t stackDepth                 = 4096 * 2);
        ~ApplicationBellBackgroundSounds();
        sys::ReturnCodes InitHandler() override;