summaryrefslogtreecommitdiffstats
path: root/app/models
AgeCommit message (Collapse)AuthorFilesLines
2018-06-22Remove all static call history model supportMatt Porter2-40/+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-05-22phone: add tabbed viewMatt Porter1-0/+5
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-24/+44
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>
2017-02-28Import latest code from CES2017 repoScott Murray3-0/+110
Change-Id: Id7ad21f47ea50d15156171a7dfa139da46c4f977 Signed-off-by: Scott Murray <scott.murray@konsulko.com>