According to PurePhone design emergency call
window is needed after "SOS" callback at the screen lock.
This PR introduce implementation of emergency call window
and also refactor in the enter number window. Both windows
derives from new number window.
Fix the persistent answer and reject labels in Call Window issue
Fix the wrong call duration issue in both Call and Calls apps
Fix the not working call ignoring issue
Reduce firmware size by refactoring global data defined in public
headers.
Each global variable which require runtime initialization adds
initialization code to every translation unit which includes the header
where the variable is defined and declared.
Use specialized class to to pass phone number between apps and services
instead of ambigious std::string. Introduced class (utils::PhoneNumber)
wraps calls to libphonenumber providing more convienient interface.
However using libphonenumber directly may be resource hungry in terms
of stack, heap and cpu usage, so helper class has been introduced to
pass information about phone numbers (utils::PhoneNumber::View). It is
designed to maintain integrity thus can be created from an instance of
utils::PhoneNumber only or moved/copied to.
Add new field to the calllog db holding e164 formatted number. Both
entered and e164 numbers will be needed to be able to match with
contacts correctly.
Add constexpr information about country codes (utils::country).
* [EGD-2548] added AddContactIcon
* [EGD-2548] added send message Icon - still need to use it in Call Window
* [EGD-2548] SendSmsIcon used in callwindow
* [EGD-2548] rewritten Icon class to be template based
Created all missing Icons
* [EGD-2548] integranio of new icons in callwindow and some fixes
* [EGD-2548] code clean up and tune up constants
* [EGD-2548] clang formatter and fix speaker icons
* [EGD-2548] revert of USE_DAEFAULT_BAUDRATE
* [EGD-2648] destruktor fix