[EGD-2594] apps/call: add libphonenumber support

Augment handling phone numbers with libphonenumber:
 - add "as you type" formatting to phone numbers,
 - normalize phone number handling by using libphonenumber's phone
 number representation.

Clean up the code by moving application logic back to the application
and window data back to the window and reordering includes.

Application's stack size has been increased due to formatter stack
utilization level.
This commit is contained in:
Marcin Smoczyński
2020-04-05 23:43:29 +02:00
parent c34f7ddb53
commit f2eb9bb37a
6 changed files with 151 additions and 87 deletions

View File

@@ -23,7 +23,7 @@ namespace sys
const char *systemManagerServiceName = "SysMgrService";
SystemManager::SystemManager(TickType_t pingInterval)
: Service(systemManagerServiceName), pingInterval(pingInterval)
: Service(systemManagerServiceName, "", 8192), pingInterval(pingInterval)
{
// Specify list of channels which System Manager is registered to
busChannels = {BusChannels::SystemManagerRequests};