X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayout.c;h=c11dacbe2180f4bdeb10fec455af06b8179332c5;hb=f3ae1a25e249ea78ccb75c3125681cc453c92f7f;hp=5576094e8e761bde077f061d3a6bbc8c3017967a;hpb=26700fa20abefccb77bb586b49b1629bf102e131;p=src%2Fagl-compositor.git diff --git a/src/layout.c b/src/layout.c index 5576094..c11dacb 100644 --- a/src/layout.c +++ b/src/layout.c @@ -325,7 +325,7 @@ ivi_layout_activate_complete(struct ivi_output *output, * we're trying to complete activation with means we're * operating on the same app_id so do update previous_active as * it will overwrite it with the same value */ - if (!strcmp(c_app_id, app_id)) { + if (app_id && !strcmp(c_app_id, app_id)) { update_previous = false; } }