apps/homescreen.git
18 months agoinitial change to grpc sandbox/mvlad/switch-to-meson
Marius Vlad [Fri, 30 Sep 2022 12:56:12 +0000 (15:56 +0300)]
initial change to grpc

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7ff760b179b80a198ae7ea91b2f1f6239d787802

19 months agohomescreen: Change from qmake to meson
Marius Vlad [Thu, 29 Sep 2022 11:22:11 +0000 (14:22 +0300)]
homescreen: Change from qmake to meson

This change will basically make way for adding grpc/protobuf support
into homescreen, which turns out it's a pain to do with either qmake or
cmake. Eventually, we'll move all our demos to using meson, which have
gained a lot of support for building and support different technologies
to allow far more saner configurations to take place.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id64bf3d5b41912d32df7f78e94ab04d231bb0c83

19 months agohomescreen: Add support for v3 of agl-shell protocol 68/27968/3
Marius Vlad [Thu, 22 Sep 2022 13:50:11 +0000 (16:50 +0300)]
homescreen: Add support for v3 of agl-shell protocol

This protocol update adds support for
started/terminated/activate/deactive events sent by the compositor.

With this change we remove support for agl-shell-desktop protocol and
instead rely on this new protocol update.

Bug-AGL: SPEC-4528
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I9eb2135c5331eea82635583e8ca7cdf4e41a3d5e

19 months agohomescreen: Support for bound_ok and bound_fail events 60/27860/4
Marius Vlad [Thu, 22 Sep 2022 13:36:33 +0000 (16:36 +0300)]
homescreen: Support for bound_ok and bound_fail events

This adds support for version 2 of the protocol, but to also
provide an example for other clients how to use it.

Bug-AGL: SPEC-4502
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I710026bf293280d7aec2aa5d6e4528965840e23c

19 months agoRework to use launcher wrapper from libqtappfw 83/27983/2
Scott Murray [Sat, 10 Sep 2022 16:59:02 +0000 (12:59 -0400)]
Rework to use launcher wrapper from libqtappfw

Changes:
- Switch to using the new app launcher API wrapper from libqtappfw
  in order to migrate to the new gRPC based API implementation.
- The appStarted and appTerminated methods in HomescreenHandler have
  been renamed to activateApp and deactivateApp, respectively, to
  better reflect what they do.  A new processAppStatusEvent method
  had been added that calls them as appropriate based on the event
  from the AppLauncherClient status update signal.
- The copyright headers in the source files have been tweaked to
  remove the Apache license boilerplate in favour of a SPDX license
  tag.
- The code in main.cpp that was not formatted with Linux-style has
  been reformatted to match the rest of the file.

Bug-AGL: SPEC-4559

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I236cb6a412945a6df7d35652c55f664264964f9c

21 months agohomescreen: Bail out if no screens are found 48/27748/1 13.93.0 needlefish/13.93.0 needlefish_13.93.0
Marius Vlad [Thu, 7 Jul 2022 10:00:19 +0000 (13:00 +0300)]
homescreen: Bail out if no screens are found

It might happen the system doesn't have any outputs connected, or there
are literally no outputs present in the system. Instead of crashing and
systemd trying always to start it up just make sure we handle that and
print out a message about what is going it.

Bug-AGL: SPEC-4459
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ia3dfab66e69ea36b2cf50fc0f6c1fd188a87e240

21 months agoAdd VIS vehicle signal support 55/27655/1
Scott Murray [Sat, 18 Jun 2022 00:30:05 +0000 (20:30 -0400)]
Add VIS vehicle signal support

Update the volume control code to use to use VIS signalling instead
of the previous agl-service-audiomixer binding usage.

Bug-AGL: SPEC-4409

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ifc622a51991110c7786b80ee0af574ed6ca80561
(cherry picked from commit e3b392b8a0767f35e6dbbdb1e9d126294aebdcb5)

2 years agohomescreenhandler: Avoid passing an invalid appid 17/27217/2 12.93.0 marlin/12.93.0 marlin_12.93.0
Marius Vlad [Mon, 21 Feb 2022 18:31:39 +0000 (20:31 +0200)]
homescreenhandler: Avoid passing an invalid appid

If there's no item added in the QList we'll return an invalid value
pointing to some invalid memory, which we can not determine if its empty
string or not, so this makes sure we check the list itself.

Found when looking at removal/activation of surfaces while re-doing some
parts in the compositor.

Bug-AGL: SPEC-4263

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I912aa5a42a7d21374a389a7f193979f30504a83b

2 years agoRe-enable status bar 19/27119/2 12.92.0 marlin/12.92.0 marlin_12.92.0
Scott Murray [Fri, 28 Jan 2022 22:02:52 +0000 (17:02 -0500)]
Re-enable status bar

Re-enable the status bar Bluetooth and Wifi status monitoring via
the libqtappfw provided objects, and also hook up the currently
stubbed weather support so it'll start working if it is updated
in libqtappfw.

Bug-AGL: SPEC-4182

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I3aeb98dc01c0bc09550824f44bcb1d40f324e49e

2 years agoUse agl-shell-desktop protocol to keep track of closed windows 95/27095/4
Arnaud Ferraris [Tue, 18 Jan 2022 11:52:43 +0000 (12:52 +0100)]
Use agl-shell-desktop protocol to keep track of closed windows

Currently, we have no way of knowing when the main window of an
application is closed unless this action terminates the app. Hooking up
the `agl-shell-desktop` protocol allows us to be notified when this
happens, so we can instruct `homescreenhandler` to switch back to the
previously active app.

Bug-AGL: SPEC-4222
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: I26dfaccce8894c2599afd9b14349b0703727d47a

2 years agohomescreenhandler: keep track of active apps 94/27094/3
Arnaud Ferraris [Tue, 18 Jan 2022 11:47:02 +0000 (12:47 +0100)]
homescreenhandler: keep track of active apps

When the current app window is closed, the current behavior depends on
whether this action terminates the app:
- if the app is terminated, then we switch back to the launcher
- in the other case, we display the background, even if other apps are
  running

In order to implement a better behavior, we should keep track of active
apps and switch back to the previously active one when the current app
window is closed.

Bug-AGL: SPEC-4222
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: Idf1fe42886e95e2b37349b066204fde002d7c3b5

2 years agohomescreenhandler: Do not attempt to start launcher 91/27091/3
Marius Vlad [Mon, 17 Jan 2022 11:46:38 +0000 (13:46 +0200)]
homescreenhandler: Do not attempt to start launcher

Our launcher application is started by systemd as a user session, and
attempting to start it again would result into being started once more,
but this by applaunchd.
Until we merge homescreen and launcher together avoid starting it and
just activate it whenever necessary.

Bug-AGL: SPEC-4215

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I90806457b74a2439cb8bdc88068954eb7ef1d532

2 years agoMerge changes I8a971470,I74dfa2e2,Icd008c8b
Jan-Simon Moeller [Tue, 11 Jan 2022 23:06:25 +0000 (23:06 +0000)]
Merge changes I8a971470,I74dfa2e2,Icd008c8b

* changes:
  homescreenhandler: Remove old artifacts
  package: Removal older artefacts from previous appfw
  homescreenhandler: Start applications from homescreen panel

2 years agoMerge "homescreen/homescreen.pro: Bump protocol requirements"
Jan-Simon Moeller [Tue, 11 Jan 2022 22:26:35 +0000 (22:26 +0000)]
Merge "homescreen/homescreen.pro: Bump protocol requirements"

2 years agohomescreen/homescreen.pro: Bump protocol requirements 75/27075/2
Marius Vlad [Mon, 10 Jan 2022 12:13:17 +0000 (14:13 +0200)]
homescreen/homescreen.pro: Bump protocol requirements

This change is needed because we've updated
the protocol in the compositor.

Bug-AGL: SPEC-4207

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I9e85af39f61d7e6724faa11b10de571e4e60540e

2 years agohomescreenhandler: Remove old artifacts 72/27072/2
Marius Vlad [Wed, 29 Dec 2021 14:09:09 +0000 (16:09 +0200)]
homescreenhandler: Remove old artifacts

We're no longer using anything from the older appfw so remove dead code.

Bug-AGL: SPEC-4204
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I8a9714701a9bbb0da6768cd4bcbca52cb23464cd

2 years agopackage: Removal older artefacts from previous appfw 71/27071/2
Marius Vlad [Wed, 29 Dec 2021 14:05:32 +0000 (16:05 +0200)]
package: Removal older artefacts from previous appfw

Bug-AGL: SPEC-4204

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I74dfa2e24132b1928815963dfa6e1bcc4f706375

2 years agohomescreenhandler: Start applications from homescreen panel 70/27070/2
Marius Vlad [Wed, 29 Dec 2021 13:46:57 +0000 (15:46 +0200)]
homescreenhandler: Start applications from homescreen panel

We're missing application start-up from within homescreen. The top
panel surface contains a list of applications which can be started
directly (without the launcher).

Bug-AGL: SPEC-4203
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Icd008c8bdbf3f107972b5b279f1439cab5aaebee

2 years agohomescreenhandler: Set the application currently app running 69/27069/1
Marius Vlad [Wed, 29 Dec 2021 11:38:21 +0000 (13:38 +0200)]
homescreenhandler: Set the application currently app running

Bug-AGL: SPEC-4202
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ifba64095536cee149ed80d94a42abeefdcdd16f4

2 years agohomescreenhandler: use applaunchd for app activation 47/26947/5 12.91.0 marlin/12.91.0 marlin_12.91.0
Arnaud Ferraris [Wed, 1 Dec 2021 15:51:52 +0000 (16:51 +0100)]
homescreenhandler: use applaunchd for app activation

As part of the App FW rework, we introduced a new app launcher service,
accessible through D-Bus. This service accepts requests to activate
applications, and notifies when a application successfully activated or
terminated.

Requests for activation are handled by a separate `launcher` application
for now, so we only need to listen on incoming signals in order to react
to those:
- when an application successfully started or is switched to, ask the
  compositor to activate it
- when an application terminates, activate the launcher so the user
  isn't facing a "blank" display

Bug-AGL: SPEC-4160

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: I7369944570651b45ec9dcca9ccde3dfd75719c3b

2 years agoInitial rework to run without the app framework 32/26832/1
Scott Murray [Thu, 4 Nov 2021 18:35:55 +0000 (14:35 -0400)]
Initial rework to run without the app framework

Changes:
- Remove application framework build scripts, and update the
  application qmake file to just build a "homescreen" binary
  and support installing it to /usr/bin.
- Remove voice API related code.  Some of the associated QML
  and images for the UI have been retained in case equivalent
  functionality is re-added in the future.
- Remove or stub out various app framework API access for the
  homescreen and launcher bindings, and comment out usage of
  the Qt wrappers from libqtappfw (e.g. Bluetooth).  The aim is
  to provide a replacement library or libraries for the latter
  that provide the same functionality.
- Remove the old homescreen API documentation and do an initial
  update of the build instructions in README.md.

Bug-AGL: SPEC-4121

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iab979c8e1341f2da0384f88f163a977b03664600

2 years agohomescreen.pro: Use system() to figure out where to pull the protocol 69/26469/2 12.90.1 marlin/12.90.1 marlin_12.90.1
Marius Vlad [Thu, 1 Jul 2021 09:46:15 +0000 (12:46 +0300)]
homescreen.pro: Use system() to figure out where to pull the protocol

Bug-AGL: SPEC-3423

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I0960ac6bee938cc4466f877467ea57e592d61593

2 years agodocs(README.md): fix invalid http link 51/26351/1 11.91.0 11.92.0 12.90.0 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin_12.90.0
shi ce [Thu, 13 May 2021 09:28:59 +0000 (17:28 +0800)]
docs(README.md): fix invalid http link

Bug-AGL: SPEC-2714

Signed-off-by: shi ce <shic.fnst@fujitsu.com>
Change-Id: Ic74ea8a5c5bf56d8446be9038c97c2cb5038caea

2 years agohomescreen: fix master volume control name 37/26337/1
George Kiagiadakis [Mon, 10 May 2021 09:18:21 +0000 (12:18 +0300)]
homescreen: fix master volume control name

Fixes the master volume control on the homescreen, which broke after
I renamed the control in agl-service-audiomixer to "Master Playback"

Bug-AGL: SPEC-3844
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: Iadc859b29d823a703865a301877a75575a78a650

3 years agomain: Add different QMLs for doing screenshots 69/25869/1 10.92.0 10.93.0 koi/10.92.0 koi/10.93.0 koi_10.92.0 koi_10.93.0
Marius Vlad [Wed, 6 Jan 2021 13:58:18 +0000 (15:58 +0200)]
main: Add different QMLs for doing screenshots

A better of way trying to verify that we have the homescreen
up-and-running would be to load-up a reference image which doesn't
change depending on time or other things loaded up (weather for
instance).

Alternatively, a possible solution would be to have a totally different
application that basically does the same thing as homescreen. Instead of
doing that, use an environment variable to choose up what QMLs to load
instead of the original application. Modifying the env variable then
re-starting the application is sufficient to have the screenshot for CI.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie1478bb75f23c36e3c24c9e8d3e2d7c4848dd779

3 years agoAdd workaround for top panel button highlighting 49/25049/1 10.91.0 9.99.2 9.99.3 9.99.4 jellyfish/9.99.2 jellyfish/9.99.3 jellyfish/9.99.4 jellyfish_9.99.2 jellyfish_9.99.3 jellyfish_9.99.4 koi/10.91.0 koi_10.91.0
Scott Murray [Thu, 23 Jul 2020 02:27:21 +0000 (22:27 -0400)]
Add workaround for top panel button highlighting

The switch to the new compositor removed the callback to update the
top panel button highlight since it was being driven by the
Event_ScreenUpdated event from the old windowmanager.  For now, work
around this by driving the ApplicationLauncher's setCurrent method
from the appropriate place in the HomescreenHandler object's
tapShortcut method.  If a generic mechanism for notifications on
application expose becomes available via agl-shell-desktop, that
should be used instead.

Additionally, add an explicit call to setCurrent on initialization to
highlight the top panel Launcher button, matching the actual initial
UI state.

Bug-AGL: SPEC-3510

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ied5dd8e78195d061585510e60a758559ca4f69b3

3 years agoFix panel backgrounds and sizes 48/25048/1
Scott Murray [Thu, 23 Jul 2020 02:13:29 +0000 (22:13 -0400)]
Fix panel backgrounds and sizes

The split into 3 windows done for the switch to the new compositor
dropped the full screen image background that had previously been
used, but did not set any replacement for the new top and bottom panel
windows.  This, combined with some rows of transparent pixels at the
bottom and top of the respective panel background images, resulted in
the default white background being visible in those areas.

To fix this, the background of the panel windows has been set to the
color used in the previous background image for those areas (#33363a).
Additionally:
- the top and bottom panel sizes have been rationalized to 216 pixels
  high each, since there is no longer any reason to have them be
  different sizes.
- the now unused main.qml has been removed to avoid confusion.

Bug-AGL: SPEC-3420

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib656ff256f05362def378047171d1fe940355790

3 years agotoppanel: Use the older width size 31/24931/1
Marius Vlad [Thu, 2 Jul 2020 13:20:41 +0000 (16:20 +0300)]
toppanel: Use the older width size

Bug-AGL: SPEC-3348

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib7b1c9d1da2397a251391883b8c34b4e417ecb04

3 years agomain: Set-up the application id 21/24821/2 9.99.1 jellyfish/9.99.1 jellyfish_9.99.1
Marius Vlad [Wed, 10 Jun 2020 17:44:46 +0000 (20:44 +0300)]
main: Set-up the application id

Neccessary to set-up a proper application id.

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I92fd9747d1aa9f3716851c1c866e117e73ae136c

3 years agoAllow to set off the screen name using a environment variable 20/24820/2
Marius Vlad [Wed, 3 Jun 2020 13:45:58 +0000 (16:45 +0300)]
Allow to set off the screen name using a environment variable

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I0ebe268e920666d4acf7089b50255281978a6c77

3 years agoagl-compositor: Conversion to agl-compositor 19/24819/2
Marius Vlad [Sat, 25 Apr 2020 15:42:40 +0000 (18:42 +0300)]
agl-compositor: Conversion to agl-compositor

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7da44ec333217d355ba643d2d21bea7d8940ad2b

3 years agoFix package license 91/24791/2
Li, Xiaoming [Fri, 19 Jun 2020 06:33:35 +0000 (14:33 +0800)]
Fix package license

license file should live in the root folder.

Bug-AGL: SPEC-3440

Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
Change-Id: I84e714b15677e636c60ae0338eac13ce0f77c2ae

3 years agoUpdate autobuild scripts 33/24733/2
Scott Murray [Wed, 10 Jun 2020 02:05:18 +0000 (22:05 -0400)]
Update autobuild scripts

Update autobuild scripts with reworked version that fixes building
outside of the source tree.  As well, the project files have been
tweaked to strip the release build binaries and add "-debug" in the
name of the debug widget file.

Bug-AGL: SPEC-2049, SPEC-3300

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ic0fc983c533c7335d23f560480dc0f7bfd022b8e

3 years agoupdate PKGCONFIG to use qtappfw-* 17/24617/2
Raquel Medina [Thu, 4 Jun 2020 17:55:54 +0000 (19:55 +0200)]
update PKGCONFIG to use qtappfw-*

Replace qtappfw with qtappfw-weather, qtappfw-network
and qtappfw-bt packages.

Bug-AGL: SPEC-3390
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I77918c89f51c9a5aad72e855a06c6ac3c6148731

4 years agoupdate autobuild scripts 73/24273/1
Raquel Medina [Mon, 23 Mar 2020 09:11:16 +0000 (10:11 +0100)]
update autobuild scripts

Modify autobuild scripts:
- to fix warnings on yocto build
- to add new standard targets

Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Ideab6494c9c016116e1053d8c8e698dbe02d2bc8

4 years agoUpdate .gitreview file 30/23830/1
Jan-Simon Möller [Tue, 11 Feb 2020 17:00:14 +0000 (18:00 +0100)]
Update .gitreview file

This updates the gitreview file in the project

.

Change-Id: I7426b9512cc7f5b0dab86af090a599b8153b6f54
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoMerge "homescreen: remove unused DBus code artifacts" 8.99.5 icefish/8.99.5 icefish_8.99.5
Jan-Simon Moeller [Tue, 28 Jan 2020 12:32:48 +0000 (12:32 +0000)]
Merge "homescreen: remove unused DBus code artifacts"

4 years agohomescreen: remove unused DBus code artifacts 98/23698/1
Matt Ranostay [Mon, 27 Jan 2020 19:17:15 +0000 (11:17 -0800)]
homescreen: remove unused DBus code artifacts

All accesses to control launching applications are now done
via agl-service-homescreen/libhomescreen, and thus the unused
DBus interface can be removed.

Bug-AGL: SPEC-3137
Change-Id: I56201c138c7061bba8114e367729d2b29f672ed1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoRemove workaround for broken vshl-core event JSON 30/23530/1
Scott Murray [Thu, 2 Jan 2020 21:51:12 +0000 (16:51 -0500)]
Remove workaround for broken vshl-core event JSON

Now that the broken event argument JSON from the vshl-core binding has
a fix, the workaround of reparsing the voice event arguments needs to
be removed, as it breaks with the corrected events.

Bug-AGL: SPEC-3084

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I47b6369d9924102252c4690dda38d721276c69b8
(cherry picked from commit f9fd82d04fba32b9f540f592bfa8b49d60e63851)

4 years agoDisplay Alexa specific chrome when it is used 90/23490/1
Scott Murray [Sun, 29 Dec 2019 22:36:25 +0000 (17:36 -0500)]
Display Alexa specific chrome when it is used

Add logic to key off the voiceagent name and display Alexa specific
chrome (the required Alexa icon) when it is used.

Bug-AGL: SPEC-3075

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4bacad2e3906ee1e8221ed3e6bfe92b340d65aab

4 years agoMerge "Remove DBus interface for StatusBar" 8.99.2 8.99.3 8.99.4 icefish/8.99.2 icefish/8.99.3 icefish/8.99.4 icefish_8.99.2 icefish_8.99.3 icefish_8.99.4
Jan-Simon Moeller [Tue, 26 Nov 2019 17:18:13 +0000 (17:18 +0000)]
Merge "Remove DBus interface for StatusBar"

4 years agoRemove DBus interface for StatusBar 56/22956/1
Matt Ranostay [Fri, 15 Nov 2019 05:06:13 +0000 (21:06 -0800)]
Remove DBus interface for StatusBar

This is no longer used directly by the Settings app UI, and
should be removed to avoid future use. Interfacing should be
done with afb if possible.

Bug-AGL: SPEC-2964
Change-Id: I0c52b8e05b8fe2d874d939c55c326f7f82466750
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoAdd second ptt button to homescreen 20/22920/1 8.99.1 icefish/8.99.1 icefish_8.99.1
Jan-Simon Möller [Tue, 12 Nov 2019 14:29:38 +0000 (15:29 +0100)]
Add second ptt button to homescreen

This will allow in the future to differ between driver and passenger.

Bug-AGL: SPEC-2948

.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Icd2d61f2a3984ee3e6b591998c5b05aa91949cee

4 years agoAdd push to talk support to homescreen 19/22919/1
Naveen Bobbili [Mon, 29 Apr 2019 03:51:16 +0000 (20:51 -0700)]
Add push to talk support to homescreen

Reworked version of Alexa specific changes from ICS to add push to
talk button for voice services to homescreen media area.

v2: change config.xml to audiomixer

v3: reworked to not be Alexa specific:
- Now use the default voiceagent if available, instead of hard-coding
  Alexa usage
- The Alexa logo for the button has been replaced with a generic
  microphone icon derived from the radio application's launcher icon.
  This is a placeholder until a new icon is provided by LF graphics
  team. Meeting any Amazon requirements around Alexa chrome is now
  envisioned as being provided for with a TBD voiceagent API
  enhancement.
- The QML for the PTT button has been moved to MediaAreaBlank.qml,
  which seems a more logical location for it ATM.  It is likely that
  the MediaArea QML should be simplified in a future change, as it
  currently contains a signficant amount of unused code.
- The PTT button has been moved to the left hand side of the media
  area, as this seems more sensible if demonstrating driver usage.
- The delay on fade-out of the master volume slider has been lowered
  to 3 seconds from 5, with the PTT button present it started seeming
  excessive during testing.
- Some extra debug messages have been added to make tracking the
  voiceagent state more straightforward.

Bug-AGL: SPEC-2764,

Signed-off-by: Naveen Bobbili <nbobbili@amazon.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I398bf7aebc5c9b459b1fce94511eee3698c08347

4 years agoRevert "Add push to talk support to homescreen" 87/22887/1
Jan-Simon Moeller [Fri, 8 Nov 2019 11:08:35 +0000 (11:08 +0000)]
Revert "Add push to talk support to homescreen"

It turned out the homescreen won't show. So we need to revisit this patch.

https://gerrit.automotivelinux.org/gerrit/#/c/apps/homescreen/+/21182/

This reverts commit f3de2f5cad06a772ee55f58694d559a7cb012c02.

Change-Id: Ic8829e5009e9fb74b49ad1dd79125b45a872a838

4 years agoAdd push to talk support to homescreen 82/21182/3
Naveen Bobbili [Mon, 29 Apr 2019 03:51:16 +0000 (20:51 -0700)]
Add push to talk support to homescreen

Reworked version of Alexa specific changes from ICS to add push to
talk button for voice services to homescreen media area.

v2: change config.xml to audiomixer

v3: reworked to not be Alexa specific:
- Now use the default voiceagent if available, instead of hard-coding
  Alexa usage
- The Alexa logo for the button has been replaced with a generic
  microphone icon derived from the radio application's launcher icon.
  This is a placeholder until a new icon is provided by LF graphics
  team. Meeting any Amazon requirements around Alexa chrome is now
  envisioned as being provided for with a TBD voiceagent API
  enhancement.
- The QML for the PTT button has been moved to MediaAreaBlank.qml,
  which seems a more logical location for it ATM.  It is likely that
  the MediaArea QML should be simplified in a future change, as it
  currently contains a signficant amount of unused code.
- The PTT button has been moved to the left hand side of the media
  area, as this seems more sensible if demonstrating driver usage.
- The delay on fade-out of the master volume slider has been lowered
  to 3 seconds from 5, with the PTT button present it started seeming
  excessive during testing.
- Some extra debug messages have been added to make tracking the
  voiceagent state more straightforward.

Bug-AGL: SPEC-2764,

Change-Id: I2052e345baaf4306e8e3f27a01bc6940f4d27d88
Signed-off-by: Naveen Bobbili <nbobbili@amazon.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agofix: Remove qml M126 warning 34/22534/1
Li Xiaoming [Fri, 27 Sep 2019 13:01:49 +0000 (21:01 +0800)]
fix: Remove qml M126 warning

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: I374749e71705b24eb793e0ba8a5efacc81ea40de
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
4 years agoFix master volume slider 81/22281/1
Scott Murray [Fri, 30 Aug 2019 15:30:43 +0000 (11:30 -0400)]
Fix master volume slider

The switch to using agl-service-audiomixer missed a scaling to 0.0 - 1.0
for the value requested when changing the master volume slider, add that
to fix it.  Also, change the displayed name back to "Master Volume" to
match what it now represents with PipeWire.

Bug-AGL: SPEC-2788

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2fb94d161499b759540105958bcb3d6f5da1884f

4 years agohmi-debug.h:Optimise code quality 86/22186/6
Li Xiaoming [Wed, 21 Aug 2019 05:59:29 +0000 (13:59 +0800)]
hmi-debug.h:Optimise code quality

This patch do below things:
1) standarize code indent and style;
2) add log when message is NULL, it may be a result of vasprintf failed or disable message manually;
3) add microsecond round up check.

Bug-AGL: SPEC-2760

Change-Id: I1cac7a8f4755526c40f83aa3d6dfb3fbe0819fac
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
4 years agomastervolume: port to use the pipewire audiomixer service 76/21576/2 7.99.2 7.99.3 8.0.0 halibut/7.99.2 halibut/7.99.3 halibut/8.0.0 halibut_7.99.2 halibut_7.99.3 halibut_8.0.0
George Kiagiadakis [Mon, 10 Jun 2019 13:03:22 +0000 (16:03 +0300)]
mastervolume: port to use the pipewire audiomixer service

Bug-AGL: SPEC-2473

Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I5bacca161ce18a5ad047e4aaa2e395beb016d212

4 years agohomescreen: network: use new WifiAdapter class 30/21330/2 7.99.1 halibut/7.99.1 halibut_7.99.1
Raquel Medina [Thu, 16 May 2019 19:09:22 +0000 (22:09 +0300)]
homescreen: network: use new WifiAdapter class

-Apply new network class interfaces from libqtappfw
to retrieve wifi status data for the status bar.

-remove helpers from git index to allow cloning
without errors.

Bug-AGL: SPEC-2293

Change-Id: I77dc0b9ac33c97b963b0533d7071868c96f58b87
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
5 years agoAdd permission to use display 70/21170/1
José Bollo [Fri, 26 Apr 2019 13:52:55 +0000 (15:52 +0200)]
Add permission to use display

Add the permission required to access the display
through the wayland socket.

Change-Id: I1a98e27224a69631f28e65753d41ae822747ae05
Bug-AGL: SPEC-2357
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agohomescreen: bluetooth: change constructor call for Bluetooth class 87/20787/1
Matt Ranostay [Fri, 22 Mar 2019 19:53:07 +0000 (12:53 -0700)]
homescreen: bluetooth: change constructor call for Bluetooth class

The constructor needs the local applications QML context pointer for
the Bluetooth libqtappfw access.

Bug-AGL: SPEC-2270
Change-Id: Ib694d310656261a0a90d72a879fd33551155baa9
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoMerge "autobuild: introduce build scripts"
Jan-Simon Moeller [Thu, 21 Mar 2019 13:10:46 +0000 (13:10 +0000)]
Merge "autobuild: introduce build scripts"

5 years agoStart app and get runnables list by homescreen 19/20219/5
wang_zhiqiang [Wed, 20 Feb 2019 06:09:01 +0000 (14:09 +0800)]
Start app and get runnables list by homescreen

1.only call showWindow when start application.
2.change area from "normal" to "normal.full".

Bug-AGL: SPEC-2188

Change-Id: I0f3a72d996e73e3ef85eb19fdf130f46757683d6
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoautobuild: introduce build scripts 07/20707/1
Jan-Simon Moeller [Fri, 15 Mar 2019 11:53:05 +0000 (11:53 +0000)]
autobuild: introduce build scripts

This reverts commit bde8622fc349829cf03e196f2161995688fc1a09.

Which reverted the original commit from Raquel.
With the dependency added, we can go ahead now.

Thanks for the fix.

Change-Id: Ia0e5c34252eb832dbaebb643e7e06e53d74c29dc

5 years agoRevert "autobuild: introduce build scripts" 87/20687/1
Jan-Simon Moeller [Thu, 14 Mar 2019 17:53:20 +0000 (17:53 +0000)]
Revert "autobuild: introduce build scripts"

We need to double-check this works with the recipe.

This reverts commit e931f079cf5015299256f2f01b824ae42247127e.

Change-Id: I8471e87d1234d98850f2a60114bde34e2dc009a6

5 years agoautobuild: introduce build scripts 47/20647/1
Raquel Medina [Mon, 11 Mar 2019 09:21:33 +0000 (11:21 +0200)]
autobuild: introduce build scripts

- Add agl autobuild script to silence build
  warnings on yocto.
- Add linux autobuild script to build with
  the sdk
- Migrate to afb helper library version to
  successfully build with the sdk using
  autobuild script.

NB: The 2 autobuild 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: I7196665b65693bfe5557a0008fb36aa7b38068a5
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
5 years agoapi-services-book: fix title doc add old 23/20123/1
Clément Bénier [Wed, 13 Feb 2019 16:11:07 +0000 (17:11 +0100)]
api-services-book: fix title doc add old

- indeed, the previous doc was indicated
between parenthesis old for the homescreen
section

Change-Id: I71f19d8e3f0d76ccbfa26b498da1b078874f1d3a
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
5 years agoMerge "Modify notification event callback function"
Jan-Simon Moeller [Wed, 13 Feb 2019 13:29:21 +0000 (13:29 +0000)]
Merge "Modify notification event callback function"

5 years agoModify notification event callback function 19/19619/1
wang_zhiqiang [Wed, 16 Jan 2019 06:05:52 +0000 (14:05 +0800)]
Modify notification event callback function

HomeScreen-Service unified event pattern,so in homescreen
got caller application id in "parameter".

BUG-AGL: SPEC-2120

Change-Id: I3a491cbc3b1ccf109409ed9b065111706fe6be5e
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoagl-documentation: add homescreen-book.yml 25/19325/1 6.99.4 7.90.0 guppy/6.99.4 guppy_6.99.4 halibut/7.90.0 halibut_7.90.0
Sebastien Douheret [Thu, 20 Dec 2018 13:07:44 +0000 (14:07 +0100)]
agl-documentation: add homescreen-book.yml

Change-Id: I5a4c972c739387e254a7cea42546035aa545f4a7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agodocs: add yaml book 83/19283/2 6.99.3 guppy/6.99.3 guppy_6.99.3
Frederic Marec [Wed, 19 Dec 2018 10:28:00 +0000 (11:28 +0100)]
docs: add yaml book

Bug-AGL: SPEC-1988

Change-Id: I84abf5b21c64ec8c7084d825e886b9750a037957
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agoBind the slider volume to the 4a active role 81/19081/2
Loïc Collignon [Wed, 19 Dec 2018 14:30:09 +0000 (15:30 +0100)]
Bind the slider volume to the 4a active role

4a now expose an active role, which is the opened role with the higher
priority. This binds the slider to the active role.

Bug: 1313

Change-Id: I73766163fc0b8ef1e6b70e9c13e28d3642be858a
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
5 years agoadd new features in homescreen-service and homescreen 35/17935/6
wang_zhiqiang [Wed, 14 Nov 2018 03:17:48 +0000 (11:17 +0800)]
add new features in homescreen-service and homescreen

homescreen-service: add five verbs.
1.showWindow: instead of tap_shortcut and show onscreen.
2.hideWindow: used when want to hide onscreen.
3.replyShowWindow: used when post onscreen reply information to application.
4.showNotification: used by application who want to display notification on homescreen top area.
5.showInformation: used by application who want to display information on homescreen botton area.

homescreen:
display notification and information.

Bug-AGL: SPEC-1931

Change-Id: Ia17a9793c5d284458009ea71eb9594a40286fa8c
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoMerge "homescreen: bluetooth: switch bluetooth power status" 6.99.1 6.99.2 guppy/6.99.1 guppy/6.99.2 guppy_6.99.1 guppy_6.99.2
Scott Murray [Thu, 22 Nov 2018 15:03:32 +0000 (15:03 +0000)]
Merge "homescreen: bluetooth: switch bluetooth power status"

5 years agohomescreen: bluetooth: switch bluetooth power status 87/18087/1
Matt Ranostay [Fri, 2 Nov 2018 01:36:56 +0000 (18:36 -0700)]
homescreen: bluetooth: switch bluetooth power status

Don't turn on/off bluetooth icon on homescreen when a device is
connected, but when the adapter is powered on/off. This is the common
functionality for most UIs

Change-Id: If26d84da31433c461d06c157832f7b6bd744ef39
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoUse graphic_role 89/17989/1
Kazumasa Mitsunari [Thu, 15 Nov 2018 10:01:04 +0000 (19:01 +0900)]
Use graphic_role

Window Manager set role name as lower_case,
then change role as lower_case.

Change-Id: Iee62ff0832bef3b70adf76698efbf7168fd5af69
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
5 years agouse appid instead of appname in "tap_shortcut" 33/17733/1
wang_zhiqiang [Tue, 6 Nov 2018 02:12:27 +0000 (10:12 +0800)]
use appid instead of appname in "tap_shortcut"

Now In homescreen-service used application_id to identify
different application, so use appid instead of appname
in "tap_shortcut" parameter.

Bug-AGL: SPEC-1764

Change-Id: I2fdda76167c7af9af65b1135b838da1742515b8b
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoRevert "Use appid between homescreen-service and apps" 93/16293/3 5.99.4 5.99.5 5.99.6 6.90.0 flounder/5.99.4 flounder/5.99.5 flounder/5.99.6 flounder_5.99.4 flounder_5.99.5 flounder_5.99.6 guppy/6.90.0 guppy_6.90.0
Tadao Tanikawa [Fri, 24 Aug 2018 04:44:12 +0000 (04:44 +0000)]
Revert "Use appid between homescreen-service and apps"

This reverts commit 389a02a99961f1bcc6d317ffc9223ea7f2d05023.

Bug-AGL: SPEC-1685

Change-Id: I2f659dbb53b0b781ed588d19c2f3228e3abcbb4a
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoReplace top and bottom area's background image 51/16151/1
Tadao Tanikawa [Sun, 19 Aug 2018 14:07:23 +0000 (14:07 +0000)]
Replace top and bottom area's background image

To improve scaling, replace top and bottom area's PNG image
to SVG image.

Bug-AGL: SPEC-1611

Change-Id: I547a96671c597cf3ac1ba1d3423fdb782bd93464
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoUse appid between homescreen-service and apps 59/16059/1 5.99.3 flounder/5.99.3 flounder_5.99.3
zheng_wenlong [Wed, 8 Aug 2018 05:42:53 +0000 (14:42 +0900)]
Use appid between homescreen-service and apps

    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: Idd052d3f76f83e1f5bfe46627d7698655ffad85d
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
5 years agoMerge lastest commit from homescreen-2017 57/16057/1
zheng_wenlong [Wed, 8 Aug 2018 05:38:03 +0000 (14:38 +0900)]
Merge lastest commit from homescreen-2017

    Merge two lastest commit from homescreen-2017.

1)  StatusBarModel: fix QQmlContext reference
    Fix missing include
    Bug-AGL: SPEC-1628

2)  Improve output of multiple screen resolution
    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: I71a6c87187c2b0b81bb0ed10cc8779032aa19300
Signed-off-by: Matt Porter <mporter@konsulko.com>Y
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
5 years agoChange bluetooth status using agl-service-bluetooth 75/15875/1
zheng_wenlong [Wed, 1 Aug 2018 02:09:38 +0000 (11:09 +0900)]
Change bluetooth status using agl-service-bluetooth

    Use libqtappfw's bluetooth to connection with agl-service-bluetooth.
    Instead of using dbus.

Change-Id: Ib0de7cf81ee9e582995a1e4102f8c3b297694328
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
5 years agoMerage homescreen-2017 modification to homescreen. 55/15855/1
zheng_wenlong [Mon, 30 Jul 2018 08:07:43 +0000 (17:07 +0900)]
Merage homescreen-2017 modification to homescreen.

    1. Add "Remove useless ref to pulseaudio" commit to homescreen.
    2. Remove launch app code for my mistake merging.
    Right now this source is same as a8b94699ae7ec155729fcccda2be4f22328ca790.

Relative Commit:
https://gerrit.automotivelinux.org/gerrit/#/c/15563/

Change-Id: I966e86c73d9f66ac7a7ff6763be3544ecaba28cd
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
5 years agoCopy source code from homescreen-2017 73/15173/1 5.99.2 flounder/5.99.2 flounder_5.99.2
zheng_wenlong [Tue, 10 Jul 2018 09:11:51 +0000 (18:11 +0900)]
Copy source code from homescreen-2017

    We decide to use homescreen instead of homescreen-2017.
    Copy the source code from homescreen-2017 and delete word "-2017".
    Revision: b4db06287bc997ded71deab50ff0ff5889b09e1f

Bug-AGL: SPEC-1549

Change-Id: Id77226b7ce35bbc29c868281c37b76ea3f930ad5
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
6 years agoAdditional parameter to WindowManager at application startup 29/9829/2 4.99.1 4.99.2 4.99.3 5.99.1 eel/4.99.1 eel/4.99.2 eel/4.99.3 eel_4.99.1 eel_4.99.2 eel_4.99.3 flounder/5.99.1 flounder_5.99.1
Tadao Tanikawa [Tue, 27 Jun 2017 09:08:00 +0000 (18:08 +0900)]
Additional parameter to WindowManager at application startup

HomeScreen used to pass numeric id to WindowManager at application
startup. This change add 1 more parameter (string id).
This is necessary for WindowManager to allow some applications
to run background, related to
  https://gerrit.automotivelinux.org/gerrit/#/c/9827/

Bug-AGL: SPEC-395

Change-Id: I90dec40fe0afd7634389b3430349259cc3616005
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
6 years agoMerge "Add icon re-ordering support by hold and move" 3.99.1 dab/3.99.1 dab_3.99.1
Jan-Simon Moeller [Wed, 24 May 2017 08:50:33 +0000 (08:50 +0000)]
Merge "Add icon re-ordering support by hold and move"

6 years agoAdd icon re-ordering support by hold and move 81/9481/1
Tasuku Suzuki [Tue, 23 May 2017 05:24:35 +0000 (14:24 +0900)]
Add icon re-ordering support by hold and move

Change-Id: Ieb6bf721932e36e4ea69cd56d59019ed8fed13ba
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
6 years agoAdd master volume control slider 59/9459/2
Matt Porter [Mon, 22 May 2017 16:06:50 +0000 (12:06 -0400)]
Add master volume control slider

Adds support for a master volume control to the HomeScreen app.
The master volume slider appears when touching in the MediaArea
at the bottom of the screen. If there is no interaction with the
slider, it fades out after 5 seconds so that the AGL logo area
is not obscured. The volume slider is accessible across all
applications due to the MediaArea portion of HomeScreen always
being exposed to the screen.

The slider volume control is tied to the default PA sink and
applies proportional volume control across all channels of the
default sink when changed.  It also reacts to external volume
change events from other PA clients (e.g. Mixer app or pactl
CLI changes) and updates the master volume slider accordingly.

AGL-Bug: SPEC-550
Change-Id: I9bf55bc624f4bb95c162a79bd2eb314d8f945033
Signed-off-by: Matt Porter <mporter@konsulko.com>
6 years agoMerge "HomeScreenControlInterface: use single afm_user_daemon"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:40 +0000 (21:52 +0000)]
Merge "HomeScreenControlInterface: use single afm_user_daemon"

6 years agoMerge "ApplicationLauncher: use single afm_user_daemon"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:36 +0000 (21:52 +0000)]
Merge "ApplicationLauncher: use single afm_user_daemon"

6 years agoMerge "ApplicationModel: use single afm_user_daemon_proxy instance"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:28 +0000 (21:52 +0000)]
Merge "ApplicationModel: use single afm_user_daemon_proxy instance"

6 years agoMerge "main: instantiate a afm_user_daemon proxy"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:20 +0000 (21:52 +0000)]
Merge "main: instantiate a afm_user_daemon proxy"

6 years agoMerge "interfaces: add afm_user_daemon protocol binding"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:17 +0000 (21:52 +0000)]
Merge "interfaces: add afm_user_daemon protocol binding"

6 years agoHomeScreenControlInterface: use single afm_user_daemon 47/9347/2
Marcus Fritzsch [Wed, 10 May 2017 12:10:05 +0000 (14:10 +0200)]
HomeScreenControlInterface: use single afm_user_daemon

* The org.agl.homescreenappframeworkbindertizen should not be used here.
* Simplify the implementation.

Change-Id: I5d2dedf2dcacea2104ba38e4467fd8299a88d776
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
6 years agoApplicationLauncher: use single afm_user_daemon 45/9345/1
Marcus Fritzsch [Wed, 10 May 2017 12:09:59 +0000 (14:09 +0200)]
ApplicationLauncher: use single afm_user_daemon

Also simplify the implementation.

Change-Id: I3eec730825c358517ea2a6573b9070ec05009c4c
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
6 years agoApplicationModel: use single afm_user_daemon_proxy instance 43/9343/1
Marcus Fritzsch [Wed, 10 May 2017 12:09:53 +0000 (14:09 +0200)]
ApplicationModel: use single afm_user_daemon_proxy instance

* Do not use org.agl.homescreenappframeworkbinder.
* Use the single afm_user_proxy_instance of our main().

Change-Id: Ib7ce8d2cefe1678200f0e38148e599b4df7459cc
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
6 years agomain: instantiate a afm_user_daemon proxy 41/9341/1
Marcus Fritzsch [Wed, 10 May 2017 12:09:46 +0000 (14:09 +0200)]
main: instantiate a afm_user_daemon proxy

* Create a single org::AGL::afm::user instance.
* Do not make use of static object construction/destruction.
* Use QScopedPointer in main() to manage the resource.
* Users of this instance use an extern declaration of the global
  variable.

Change-Id: Ia6db7aae8c8f6b135fe62bda495c68fdef004081
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
6 years agointerfaces: add afm_user_daemon protocol binding 39/9339/1
Marcus Fritzsch [Wed, 10 May 2017 12:09:37 +0000 (14:09 +0200)]
interfaces: add afm_user_daemon protocol binding

Change-Id: I3dab62c5bcd3aaaf98bcf6dd3105f051309ad0f7
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
7 years agoRemove useless "User=" from service 67/9267/1
Ronan Le Martret [Wed, 26 Apr 2017 15:19:59 +0000 (17:19 +0200)]
Remove useless "User=" from service

The service run has systemd user unit, so "User=" is useless

Bug-AGL: SPEC-546

Change-Id: I2205e0b5d38da057687a123e044c40afdbe3f550
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoGet installed app list from afm dbus 51/9251/1
Marcus Fritzsch [Thu, 20 Apr 2017 14:20:39 +0000 (16:20 +0200)]
Get installed app list from afm dbus

Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
7 years agoFixed homescreen startup 73/8673/4
Ronan Le Martret [Wed, 8 Mar 2017 10:40:09 +0000 (11:40 +0100)]
Fixed homescreen startup

 * homescreen must start only when
   WindowManager is ready.

 [SPEC-470]

Change-Id: Ie755b5c0bda3b5f0937c41cc6d08bc7f0f494d00
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoFix typo in gitreview file 09/8609/1
Jan-Simon Möller [Thu, 2 Mar 2017 11:36:23 +0000 (12:36 +0100)]
Fix typo in gitreview file

Change-Id: Ie8667249f1a98248fd9c5fc96d7613818f28e702
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd .mailmap file to clean up stats
Bocklage, Jens [Tue, 14 Feb 2017 18:39:51 +0000 (19:39 +0100)]
Add .mailmap file to clean up stats

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoForward setSurfaceToLayoutArea call to WindowManger
Bocklage, Jens [Wed, 25 Jan 2017 14:03:23 +0000 (15:03 +0100)]
Forward setSurfaceToLayoutArea call to WindowManger

This was missing

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFix list in documentation
Jens Bocklage [Fri, 20 Jan 2017 17:57:31 +0000 (18:57 +0100)]
Fix list in documentation

Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
7 years agoFix alt img text and lists
Jens Bocklage [Fri, 20 Jan 2017 17:49:20 +0000 (18:49 +0100)]
Fix alt img text and lists

Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
7 years agoAdd homescreen API documentation
Jens Bocklage [Fri, 20 Jan 2017 17:30:39 +0000 (18:30 +0100)]
Add homescreen API documentation

Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
7 years agoInitial source commit
Bocklage, Jens [Wed, 18 Jan 2017 14:25:38 +0000 (15:25 +0100)]
Initial source commit

Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>