summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-12app/Phone.qml: Use windows width and heightsandbox/mvlad/agl-compositorMarius Vlad1-2/+2
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2020-06-12Remove windowmanager dependsMarius Vlad4-39/+14
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2020-06-06replace qtappfw with qtappfw-phone & qtappfw-bt-pbap packagesRaquel Medina1-1/+1
Bug-AGL: SPEC-3390 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I3793e05880c7774c3487ed2a2a52efa311ae5a6a
2020-03-12update autobuild scriptsRaquel Medina2-29/+113
Modify autobuild scripts: - to fix warnings on yocto build - to fix linux/autobuild syntax errors - to add new standard targets Bug-AGL: SPEC-2049 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I9a6970b48901539883a3284fd2fd91f1301edf52
2020-03-06add QDateTime headerRaquel Medina1-0/+1
QDateTime header is missing after clean up on includes from libqtappfw's telephone.h; it should be included directly by phone.h as QDateTime class is used by the phone application but not by libqtappfw. This change is applied ahead of libqtappfw changes to avoid breaking the build. Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ie588521fef9965ec39133bcae75a0cfba7cfbaf8
2019-09-16fix: Remove qml M126 warningicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.58.99.48.99.38.99.28.99.1Li Xiaoming3-17/+17
Message: == and != may perform type coercion, use === or !== to avoid it. Description: The non-strict equality comparison is allowed to convert its arguments to a common type. That can lead to unexpected results such as ' \t\r\n' == 0 being true. Use the strict equality operators === and !== and be explicit about conversions you require. Bug-AGL: SPEC-2814 Change-Id: I94130d38621a8775593edab63d409654dd758ef2 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-07-24Switch to pipewire outputScott Murray2-7/+8
Change from ALSA sink to new pipewire sink for output, and add setting of the pipewire media role property. Bug-AGL: SPEC-2634 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idc1dca82c8329071698ef0766a0ec1f50d90a98f
2019-06-27Merge "phone: qml: add 'Sync Contacts' button to ContactsView"halibut_7.99.3halibut_7.99.2halibut/7.99.3halibut/7.99.27.99.37.99.2Jan-Simon Moeller1-39/+63
2019-06-25Fixes to work with running as non-root and 4A removalScott Murray5-142/+6
Added the missing new audio permission to the widget manifest, and reworked ringtone audio output to remove 4A support. Bug-AGL: SPEC-2558 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7ca5a438333bd046a1634a9056291bd7c215d4e6
2019-06-20phone: qml: add 'Sync Contacts' button to ContactsViewMatt Ranostay1-39/+63
Allow user to request new/initial phonebook OBEX transfers from connected device. Bug-AGL: SPEC-2541 Change-Id: I89a49d261fc4aef6219c39cc4b75ec400c0df101 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-20phone: add .vimrc project fileMatt Ranostay1-0/+1
Bug-AGL: SPEC-2541 Change-Id: I996af8d6025bce0cd44d1da13a0a95cdb4fbefaa Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-04-26Add permission to use displayhalibut_7.99.1halibut/7.99.17.99.1José Bollo1-0/+1
Add the permission required to access the display through the wayland socket. Change-Id: I75225d8b7db445edf2f298271a100250060a0ebe Bug-AGL: SPEC-2357 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-03-25Merge "phone: qml: enable/disable dialpad on hfp status events"Jan-Simon Moeller1-2/+6
2019-03-24phone: qml: enable/disable dialpad on hfp status eventsMatt Ranostay1-2/+6
Enable/disable the dialpad based on the handsfree profile connection status. Note this has nothing to do with if an active call is connected. Bug-AGL: SPEC-2257 Change-Id: Ibaedab7c6b9a4151fdded73a07a04de9c554e2f0 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-03-14Fix the rec of No 4, add a line.Li Xiaoming2-4/+4
Change-Id: I6b56c5038de9f7b04aba38d30c6c45f93365bd59 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-03-11autobuild: introduce autobuild scriptsRaquel Medina2-0/+120
- Add agl autobuild script to silence build warnings on yocto. - Add linux autobuild script to build with the sdk These 2 scripts are based on the latest version of the autobuild script, but they've been customized to (i) work with the existing qmake files and (ii) the 'update' and 'package-test' targets have been removed. Bug-AGL: SPEC-2164 Change-Id: Ia2a9ce8decb9916a8ebedb757c924b0ff4b0449f Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-01-23Replace QtMultimedia usage with 4A + gstreamerScott Murray9-22/+382
Replace QtMultimedia usage for ringtone playing with a gstreamer pipeline that uses the provided 4A role ALSA device for output. For now, a "phone" role is assumed to be available, but it does not exist in the current set of 4A policy and HALs, and needs to be added. Testing was done by making the required role changes locally and using some debug QML tweaks to allow triggering the ringtone manually. Bug-AGL: SPEC-1596 Change-Id: I55c2229de1bc5470ee818e5be382b64664fa2d29 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-27phone: qml: add photo support for contactshalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4Matt Ranostay1-1/+3
Display contact profiles photo when provided in vCards over the PBAP transport. Bug-AGL: SPEC-2088 Change-Id: I48117ad76d93ae913775ecdacde6eb34e736dde2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-19Use Event_ShowWindow instead of Event_TapShortcutguppy_6.99.3guppy/6.99.36.99.3wang_zhiqiang1-3/+3
The interface of homescreen service will be changed then, use Event_ShowWindow instead of Event_TapShortcut. Related changes: agl-service-homescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17929/ libhomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17931/ libqthomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17933/ BUG-AGL: SPEC-1931 Change-Id: Icc1533243941e2a49aa0a35d3948bbc71ef477ac Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-12-07Modify graphic roleKazumasa Mitsunari1-9/+9
Window Manager set role name as lower_case, then change role as lower_case. Bug-AGL: SPEC-1754 Change-Id: Ib85b00678c3162da9a4c03be48c04e486e237b40 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-11-20phone: add agl-service-bluetooth-pbap to required apisguppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1Matt Ranostay1-0/+1
Change-Id: I62a5586254d40bfdc6d0e76d0d9f734c24d99f77 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-30delete application_name check in tap_shortcut eventwang_zhiqiang1-10/+2
because of now homescreen-service emit event to one application, delete the applciation_name check. Bug-AGL: SPEC-1764 Change-Id: Ib3ce3d13aeeb957c762f1826ff3c9d8bf8e95f1c Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-09-27phone: remove telephony binding from packageMatt Ranostay23-9239/+3
Telephony binding needs to be split into own package, and this requires it to be removed from the phone application Bug-AGL: SPEC-1757 Change-Id: Ida29d47abbe254a531d69cce33433cce877e1cf2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-24Revert "Use appid between homescreen-service and apps"guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Tadao Tanikawa1-2/+10
This reverts commit a90666e63c2ae13003f6e5c32324f9c6b35d0a46. Bug-AGL: SPEC-1685 Change-Id: I4f6e02a8514ef4a20d67b0ef8c3043060d6900df Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-06Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong1-10/+2
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: If16b93e3333a4214dc5512f1bf1c93a97f388bed Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-02Improve output of multiple screen resolutionTadao Tanikawa2-0/+15
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: I89f56fc37a5022fec23cf313f878a77c7a6eb111 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-06-26Remove all static contacts model supportflounder_5.99.2flounder_5.99.1flounder/5.99.2flounder/5.99.15.99.25.99.1Matt Porter5-99/+0
Remove all of the static contacts model support that was deprecated by the new ContactModel support in libqtappfw. Goodbye, Art McGee! Bug-AGL: SPEC-1436 Change-Id: I4e33d459d389c7d35afceb484eb21541660f9750 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-26Use PBAP data backed ContactsModelMatt Porter1-13/+15
Convert ContactsView to use ContactsModel provided by libqtappfw. This now displays all contacts and associated phone number from the connected mobile phone's PBAP-connected contact database. Bug-AGL: SPEC-1436 Change-Id: I6a26e0c6627247736470e06ddbd611caa7de79b1 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-25Refresh the recent call list at the end of each callMatt Porter1-0/+1
Show the most recent call list entries by refreshing the call list using telephony call status notifications. Refresh the recent call list whenever a call is disconnected. The PBAP call history on the mobile device is updated on call disconnect (any time it transitions from incoming/dialed/active to disconnected) Bug-AGL: SPEC-1436 Change-Id: If09d0b8ee2461e4859fa543c99b9321a3cfb3af7 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-22Remove all static call history model supportMatt Porter6-76/+1
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 Porter3-15/+14
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 Porter3-0/+19
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 Porter17-44/+263
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-22phone: add discrete call function parametersMatt Porter2-5/+5
Adjust the call function to accept discrete parameters for the name and phone number to dial. This prepares the app for a reworked UI where the contact model is not always used to invoke a phone call. Bug-AGL: SPEC-1435 Change-Id: I178a7eb6c4854f755abd94234a648f861d5c1326 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-22Merge "contacts: handle multiple numbers and types"Matt Porter6-35/+110
2018-05-21contacts: handle multiple numbers and typesMatt Porter6-35/+110
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-15Remove reference to <afb/afb-service-itf.h>José Bollo2-2/+2
Change-Id: Ifcb769e9b837e9c41a3fed85c983d43ea43552b6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-05-11telephony binding: support runtime change of BT HFP modemMatt Porter3-46/+125
The binding currently only queries for a BT HFP enabled modem once at binding init time. To support runtime modem changes, use BT binding events to handle connection and disconnection of BT HFP devices. The default voice call modem is now torn down on device disconnect and initialized when a new BT HFP device is connected at runtime. Bug-AGL: SPEC-1433 Change-Id: Icea7686ef5ecb80b0d33560e4499ca1fd6285147 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-11telephony-binding: add ofono manager calls to support async initMatt Porter4-4/+87
Add additional calls to manage runtime connection/disconnection of voice modem interfaces and querying if there's a valid modem present. Bug-AGL: SPEC-1433 Change-Id: I824bfe2ff383fca5516e8581e97278f7b3807364 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-11telephony-binding: remove empty pre-init functionMatt Porter1-8/+0
Pre-init was implemented but unused. Remove the useless code. Change-Id: Ie3e9a14666fbd2ff4efa038d30d8e9db823d4972 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-11app: update application name to be more conciseMatt Porter1-1/+1
The current application name is very awkward in logs so rename this to "Phone Dialer Application" Change-Id: Ib417082717cb8af7e429f6aabc95a59146f14d18 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>
2018-01-01Merge "Fix build error in gcc 7.2"Jan-Simon Moeller1-1/+1
2017-12-22Fix build error in gcc 7.2Changhyeok Bae1-1/+1
[Error] ../../git/telephony-binding/gdbus/ofono_voicecallmanager.c:44:7: error: 'state' may be used uninitialized in this function [-Werror=maybe-uninitialized] Bug-AGL: SPEC-1181 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-12-22Fix icons of Button 7Tadao Tanikawa2-20/+20
Acitve/Incactive were inversed for button 7. Bug-AGL: SPEC-673 Change-Id: Ib5fad062e5b2e886b3fcb9f3267a2beff8915039 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-12-20Update to new color schemeTadao Tanikawa29-4169/+1244
The color scheme has been changed to new one. Bug-AGL: SPEC-673 Change-Id: I4aaa397766dd815853ad6a361759774faa986e1a Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-11-14Porting to new HMI Frameworkeel_4.99.3eel/4.99.34.99.3Scott Murray3-14/+44
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 Porter4-22/+43
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 Porter6-18/+83
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>