Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
|
|
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>
|
|
Change-Id: Ifcb769e9b837e9c41a3fed85c983d43ea43552b6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
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>
|
|
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>
|
|
Pre-init was implemented but unused. Remove the useless code.
Change-Id: Ie3e9a14666fbd2ff4efa038d30d8e9db823d4972
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
[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>
|
|
Acitve/Incactive were inversed for button 7.
Bug-AGL: SPEC-673
Change-Id: Ib5fad062e5b2e886b3fcb9f3267a2beff8915039
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Convert telephony-binding and phone app from broadcast events
to subscribe/unsubscribe events.
Bug-AGL: SPEC-815
Change-Id: I6288db22332277e217b3f1a4e79a391cb63ebc16
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Convert the telephony-binding to the v2 binding format.
Also move to AFB_ message macros and remove propagation
of the interface struct.
Bug-AGL: SPEC-814
Change-Id: Ic9ce86f59af01ce00cece4e29cd5fe36afa7d74c
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Adds additional error checking and reporting to the binding so
that errors resulting from lack of a telephony modem can be reported
at init. This fixes the issue where the phone app crashes and the
afb-daemon can only report a segfault on start.
AGL-Bug: SPEC-621
Change-Id: Ie3e12cb69a2a04cf7308e6bd244add581b8578db
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Adds support for disconnection of an alerting incoming call to
the telephony binding via the hangup verb. This is support in
the phone UI by an additional button being loaded in the
incoming call state allowing the user to decline to answer the
call or use the already present answer call button to accept
it.
AGL-Bug: SPEC-601
Change-Id: I56ad0b813c0f1f24688709d180c3c061d7511651
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Adds support to the telephony binding for generating events when
a call's state changes to active or disconnected states (when a
remote/local party answers or disconnects the call). These events
are used to drive a call duration display in the phone app UI.
AGL-Bug: SPEC-599
Change-Id: Ib4b0b115ca1d0573a7ae046082627f561f0d8d8a
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Adds an answer verb and associated incoming call lifecycle
management to the telephony binding. Leverages the binding
answer support to activate the call answer button when the
binding reports that we are in an incoming call state. Once
the incoming call is answered, the ring tone is deactivated.
AGL-Bug: SPEC-600
Change-Id: I4f2db2d248cfd0f4945fc17d450e9b691061cc9e
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Refactor the voicecall object lifecycle management in the
telephony binding using g_object-derived handles. Instead
of passing around and managing raw strings as a handle to
a voicecall, we use the voicecall object itself returned
from the new dbus proxy init. This simplifies memory
management of these objects that are created and freed
each time as calls are dialed/answered and terminated. It
then simplifies the forthcoming call answering support.
AGL-Bug: SPEC-600
Change-Id: I89efed1eb7927f4ffe2d1eaed295e0aa914efdcc
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Add supports for incoming call, dialing call, and terminated call events
in the telephony binding. The phone UI is enhanced to make use of these
telephony binding events to display a notifications of phone call
status. These include generate a ring tone and displaying incoming phone
number information, outgoing phone number being dialed, and halt of the
ring tone and clearing of the notification space when a call is
terminated.
AGL-Bug: SPEC-598
Change-Id: Ied610b70c2e6edb1f631decd417cdbd39746a558
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
Adds support for initiating and hanging up a voice call from the
phone app dial pad. This support leverages the basic telephony
binder API and pulseaudio as an ofono agent.
AGL-Bug: SPEC-597
Change-Id: I94e8c64a76164f04c6573d7126a8cc725b3c679d
Signed-off-by: Matt Porter <mporter@konsulko.com>
|
|
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>
|
|
Change-Id: Id7ad21f47ea50d15156171a7dfa139da46c4f977
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
|