~aleteoryx/muditaos

f4bcc5ce6f0d66f6ee55949f9978ad0c0399fddb — Dawid Wojtas 2 years ago 58c8f7b
[BH-1758] Fix information about next alarm ring

Launching an application requires an updated
alarm time from the database.
M harmony_changelog.md => harmony_changelog.md +1 -0
@@ 23,6 23,7 @@
* Fixed hard fault handling
* Fixed meditation countdown timer when a deep press is performed
* Fixed "turn off" window display time
* Fixed information about next alarm ring

### Added


M products/BellHybrid/apps/Application.cpp => products/BellHybrid/apps/Application.cpp +1 -0
@@ 46,6 46,7 @@ namespace app
        }

        alarmModel = std::make_unique<app::AlarmModel>(this);
        alarmModel->update(nullptr);
        return sys::ReturnCodes::Success;
    }


M products/BellHybrid/apps/application-bell-onboarding/ApplicationBellOnBoarding.cpp => products/BellHybrid/apps/application-bell-onboarding/ApplicationBellOnBoarding.cpp +3 -2
@@ 43,8 43,9 @@ namespace app
    ApplicationBellOnBoarding::ApplicationBellOnBoarding(std::string name,
                                                         std::string parent,
                                                         StatusIndicators statusIndicators,
                                                         StartInBackground startInBackground)
        : Application(std::move(name), std::move(parent), statusIndicators, startInBackground)
                                                         StartInBackground startInBackground,
                                                         std::uint32_t stackDepth)
        : Application(std::move(name), std::move(parent), statusIndicators, startInBackground, stackDepth)
    {}

    ApplicationBellOnBoarding::~ApplicationBellOnBoarding()

M products/BellHybrid/apps/application-bell-onboarding/include/application-bell-onboarding/ApplicationBellOnBoarding.hpp => products/BellHybrid/apps/application-bell-onboarding/include/application-bell-onboarding/ApplicationBellOnBoarding.hpp +2 -1
@@ 43,7 43,8 @@ namespace app
        explicit ApplicationBellOnBoarding(std::string name                    = applicationBellOnBoardingName,
                                           std::string parent                  = "",
                                           StatusIndicators statusIndicators   = StatusIndicators{},
                                           StartInBackground startInBackground = {false});
                                           StartInBackground startInBackground = {false},
                                           std::uint32_t stackDepth            = 1024 * 8);
        ~ApplicationBellOnBoarding();

        sys::ReturnCodes InitHandler() override;