summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-04-19 20:18:14 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-05-12 21:56:35 +0300
commit65f9de0a549b0af779c5bad7468aa757d57db6d4 (patch)
treeafb98e2bf5c9fd34cfa4f8dc7793bd32ab8054a7
parentd0b4585202c46be21b415c664b9d010057c37686 (diff)
policy-default: Add the de-activate request to the default policy
We didn't have a valid de-activate for it, but with the 'deactivate_app' that is no longer true to make use of it. Bug-AGL: SPEC-3269 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ife520e61360744231a13968f15bc0941ca163966
-rw-r--r--src/policy-default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy-default.c b/src/policy-default.c
index bcfee6b..3363528 100644
--- a/src/policy-default.c
+++ b/src/policy-default.c
@@ -85,7 +85,7 @@ ivi_policy_default_try_event(struct ivi_a_policy *a_policy)
ivi_layout_activate(a_policy->output, a_policy->app_id);
break;
case AGL_SHELL_POLICY_EVENT_HIDE:
- /* FIXME: remove the active one, like basically unmap it? */
+ ivi_layout_deactivate(a_policy->policy->ivi, a_policy->app_id);
default:
break;
}