/* find launcher handler again with provider ec */
lc = _launcher_handler_launcher_find(prov_ec);
}
+ else
+ {
+ /* Backward case
+ *
+ * activity: callee ec
+ * given ec: callee ec (transient_for child) <-- destroying by back key
+ * caller ec (transient_for parent) <-- will be shown
+ *
+ * In this case, the given ec is a callee ec and is transient_for with caller ec (lc) by
+ * group launching. Also, because of transient_for, caller ec is not iconified.
+ * Since the given ec is destroyed by the back key, we can't find out caller ec(lc) with activity and given ec.
+ * We have to use transient_for to find caller ec(lc).
+ */
+ ELOGF("LAUNCHER_SRV", "Hide hook of ec->parent(%p)", ec, ec->parent);
+ if (ec->parent)
+ {
+ lc = _launcher_handler_launcher_find(ec->parent);
+ if ((lc->launched_ec != ec)) lc = NULL;
+ }
+ }
}
if (!lc) return EINA_FALSE;