From 2011fcca890647ab6df72e92195f3a7dfe4d0b7e Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Mon, 22 May 2017 23:37:35 +0900 Subject: homescreen: Fix offscreen navigation guide For ALS demo, fix the issue that navigation guide stops on off screen. This fix uses the following patch fixes. https://gerrit.automotivelinux.org/gerrit/#/c/9255/ Change-Id: I2088f16764b4ec79ff02ed7932b029357c1c2a61 Signed-off-by: Naoto Yamaguchi --- .../homescreen/homescreen/fix-offscreen-navi-gid.patch | 12 ++++++++++++ recipes-demo-hmi/homescreen/homescreen_git.bb | 1 + 2 files changed, 13 insertions(+) create mode 100644 recipes-demo-hmi/homescreen/homescreen/fix-offscreen-navi-gid.patch diff --git a/recipes-demo-hmi/homescreen/homescreen/fix-offscreen-navi-gid.patch b/recipes-demo-hmi/homescreen/homescreen/fix-offscreen-navi-gid.patch new file mode 100644 index 000000000..659045aba --- /dev/null +++ b/recipes-demo-hmi/homescreen/homescreen/fix-offscreen-navi-gid.patch @@ -0,0 +1,12 @@ +diff --git a/WindowManager/src/windowmanager.cpp b/WindowManager/src/windowmanager.cpp +index 02bc392..9094115 100644 +--- a/WindowManager/src/windowmanager.cpp ++++ b/WindowManager/src/windowmanager.cpp +@@ -74,6 +74,7 @@ WindowManager::WindowManager(int displayId, QObject *parent) : + m_showLayers[3] = WINDOWMANAGER_LAYER_HOMESCREEN; /* HOMESCREEN is shwon by default */ + + m_keepApps.append(QString("mediaplayer@")); ++ m_keepApps.append(QString("navigation@")); + #endif + qDebug("-=[WindowManager]=-"); + } diff --git a/recipes-demo-hmi/homescreen/homescreen_git.bb b/recipes-demo-hmi/homescreen/homescreen_git.bb index e871e31ce..a266f430a 100644 --- a/recipes-demo-hmi/homescreen/homescreen_git.bb +++ b/recipes-demo-hmi/homescreen/homescreen_git.bb @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://HomeScreen/LICENSE;md5=ae6497158920d9524cf208c09cc4c9 SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git;protocol=http \ file://0001-Hack-to-resolve-the-media-player-doesn-t-play-next.patch \ + file://fix-offscreen-navi-gid.patch \ file://homescreen.pc.in \ file://dbus-homescreen.conf.in" SRCREV = "${AUTOREV}" -- cgit 1.2.3-korg