From 65f9de0a549b0af779c5bad7468aa757d57db6d4 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Sun, 19 Apr 2020 20:18:14 +0300 Subject: [PATCH] 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 Change-Id: Ife520e61360744231a13968f15bc0941ca163966 --- src/policy-default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.16.6