aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-12-22 21:57:44 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-12-23 16:13:04 +0000
commit4bd8c0c0ad298c9da8b3803c121001d04e39f707 (patch)
tree80fc8e5fb3ed063deb30b108f6091e3643dc1c50 /src
parenta65ed04064a6930d072b2d7b73a76911f8672bb7 (diff)
Enable to show Video and WebBrowser
Adding new applications (Video player and Web browser) to be managed by window manager properly. Releated introducing Video player, old name, 'MediaPlayer' for apps/mediaplayer has been renamed 'Music'. Old name,'MediaPlayer' keeps alive in layers.json for backward compatibility. Change-Id: I2b5e267f4015a4ed128ff5b55ba709faf1914b61 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'src')
-rw-r--r--src/app.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 164ea21..74a114d 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -752,6 +752,7 @@ void App::activate(int id) {
// FOR CES DEMO >>>
if ((0 == strcmp(label, "Radio"))
|| (0 == strcmp(label, "MediaPlayer"))
+ || (0 == strcmp(label, "Music"))
|| (0 == strcmp(label, "Navigation"))) {
for (auto i = surface_bg.begin(); i != surface_bg.end(); ++i) {
if (id == *i) {
@@ -791,6 +792,7 @@ void App::deactivate(int id) {
// FOR CES DEMO >>>
if ((0 == strcmp(label, "Radio"))
|| (0 == strcmp(label, "MediaPlayer"))
+ || (0 == strcmp(label, "Music"))
|| (0 == strcmp(label, "Navigation"))) {
// Store id