summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2018-06-22Remove all static call history model supportMatt Porter1-2/+0
Remove all of the static call history model support that was deprecated by the new RecentCallModel support. Bug-AGL: SPEC-1436 Change-Id: Ie4354af26d946b40797f57b359dbe1de9f5a9bc3 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-22Add support for PBAP RecentCallModelMatt Porter1-1/+1
Replace static data and history currently used in phone app with data populated the the BT PBAP binding. This data is parsed and exposed to QML by the RecentCallModel in libqtappfw. The recent call tab and the mini-recent call bar in the dialer tab now show actual call history from the connected mobile phone. Bug-AGL: SPEC-1436 Change-Id: I287a1daf54ee88985aac85d71215f7fa4e766556 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-18Add PBAP contact name lookup for incoming and outgoing callsMatt Porter1-0/+2
Adds support for searching an incoming or outgoing phone number for a contact name. If found, displays the contact name as appropriately when displaying the incoming or outgoing call information. Bug-AGL: SPEC-1513 Change-Id: I88c7cb4a91abdc34d17cd80e4fccfdcaf2e0d229 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-22phone: add tabbed viewMatt Porter1-0/+2
Adds support for a tabbed view of contacts, recent call, and the dialpad. This adjusts the UI to look more like a modern mobile phone app. The same models populate the contacts view and the recent call view as before with the latter being a more useful full screen list. The recent call history also includes type of call information (missed, incoming, outgoing) and the UI displays icons accordingly to indicate type of call that occured as well as a time stamp. For now, the icons are placeholders but will be replaced by icons design to match the AGL look and feel. Bug-AGL: SPEC-1435 Change-Id: I521155a11208e92ece83f20f7f3dd643deb92099 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-21contacts: handle multiple numbers and typesMatt Porter1-0/+3
The current contact model has a few fixed fields for phone numbers and only one is displayed and able to be dialed from the contacts view. Update the model to support an array of tuples indicating each phone number and type of phone number (mobile, home, work, other) associated with a contact entry. Also, update the ContactsView so we see all phone numbers for a given contact. Bug-AGL: SPEC-1435 Change-Id: Ie883d3f06c0e4102e79546395dbb1712741bac8b Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-11app: remove unneeded console message from HMI init boilerplateMatt Porter1-1/+0
Remove unneeded debug/notice message from the new HMI init code. The logs are verbose enough as is without the HMI-specific messages drowning out the real phone app-specific info. Change-Id: I5d17de3a6806a967d4c676b5a2d19ac6599fa204 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-10Fix unused variable warning from HMI initMatt Porter1-0/+1
Remove build warning introduced by migration to new HMI framework. Bug-AGL: SPEC-1428 Change-Id: I55638881e000da9f6599026783545b7c225ce471 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-14Porting to new HMI Frameworkeel_4.99.3eel/4.99.34.99.3Scott Murray1-13/+41
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: Ia0736b44b19f0375f216d280ac2be8b3857a8802 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-11-11Move call timer functionality from QML into the C++ Phone classMatt Porter1-0/+1
Removes the QML call timer implementation in favor of a C++ implementation in the Phone class. This allows the call timer to be started even if the QML application is in the background (QSG RenderThread not scheduled). Bug-AGL: SPEC-1083 Change-Id: I0cb9087d73862992d25b105f97b830eef5c83ef0 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-09Move ringtone logic from QML to Phone classMatt Porter1-0/+3
Adds a Phone class that implements ringtone logic. This allows for the ringtone to be started/stopped even if the phone app is not visible (QML render thread not executing) and the QML implementation can be removed. Bug-AGL: SPEC-1081 Change-Id: I7d0dd5f167ce1f53477d6c9d8053111996033e4c Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-11-09Convert phone app to use libqtappfw's Telephony supportMatt Porter1-0/+5
Remove the QML/Javascript websocket and appfw message handling code. This is replaced with libqtappfw's Telephony class which handles all Telephony API binding communication in a separate thread. Bug-AGL: SPEC-1079 Change-Id: I06b352eaf4925fc144c59f8d8f689180376a1f35 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-19Add basic telephony bindingMatt Porter1-0/+26
Adds a basic telephony binding which supports dial and hangup operations via ofono. Bluetooth HFP is the only modem type supported now, with SIM support expected in the future. AGL-Bug: SPEC-597 Change-Id: Icb302533c368fe37a181601c30f49294ad292a6b Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-02-28Import latest code from CES2017 repoScott Murray1-0/+46
Change-Id: Id7ad21f47ea50d15156171a7dfa139da46c4f977 Signed-off-by: Scott Murray <scott.murray@konsulko.com>