From 9e7fafaa31950f82c510da1460568f25c5ad27b8 Mon Sep 17 00:00:00 2001 From: Yuta Doi Date: Thu, 24 May 2018 10:46:34 +0900 Subject: VideoPlayer is moved to BG layer when becoming invisible Change-Id: Ifff08a2ea793365a303363b4985cdbeb31fbdf24 Signed-off-by: Yuta Doi --- src/app.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app.cpp b/src/app.cpp index f457d09..18bc15e 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -907,6 +907,8 @@ void App::activate(int id) { if ((0 == strcmp(label, "Radio")) || (0 == strcmp(label, "MediaPlayer")) || (0 == strcmp(label, "Music")) + || (0 == strcmp(label, "VideoPlayer")) + || (0 == strcmp(label, "Video")) || (0 == strcmp(label, "Navigation"))) { for (auto i = surface_bg.begin(); i != surface_bg.end(); ++i) { if (id == *i) { @@ -946,6 +948,8 @@ void App::deactivate(int id) { if ((0 == strcmp(label, "Radio")) || (0 == strcmp(label, "MediaPlayer")) || (0 == strcmp(label, "Music")) + || (0 == strcmp(label, "VideoPlayer")) + || (0 == strcmp(label, "Video")) || (0 == strcmp(label, "Navigation"))) { // Store id -- cgit 1.2.3-korg