From a8b9d0c674f4e86fe84f694f23c3eb3358436708 Mon Sep 17 00:00:00 2001 From: Sungbae Yoo Date: Wed, 13 Jul 2016 16:52:39 +0900 Subject: [PATCH] Krate: disable indicator icon that show forground app is in krate Change-Id: Ie9f748c886f31afea3deb914f4c3c54f133d246e Signed-off-by: Sungbae Yoo --- server/zone/zone.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/zone/zone.cpp b/server/zone/zone.cpp index 4b42eff..eacaf87 100644 --- a/server/zone/zone.cpp +++ b/server/zone/zone.cpp @@ -227,7 +227,7 @@ void zoneProcessCallback(GDBusConnection *connection, static runtime::User owner(ZONE_DEFAULT_OWNER); int pid, status; - notification_h noti = reinterpret_cast(userData); +// notification_h noti = reinterpret_cast(userData); g_variant_get(params, "(ii)", &status, &pid); @@ -241,6 +241,8 @@ void zoneProcessCallback(GDBusConnection *connection, return; } + // this will have been commented until notification_delete_for_uid can work + /* if (owner.getUid() != st.st_uid) { if (!isZoneForeground) { notification_set_text(noti, NT_CONTENT, NT_APPINFO, NULL, NT_NONE); @@ -252,7 +254,7 @@ void zoneProcessCallback(GDBusConnection *connection, notification_delete_for_uid(noti, owner.getUid()); isZoneForeground = false; } - } + }*/ } notification_h createNotification() -- 2.7.4