X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fsrc%2Fhomescreenhandler.cpp;h=c1cff260c6b322595a8c399e85713220feeb0294;hb=687d3fd6162d6415b0e4eb5aaf408f4824e27a0c;hp=d931ba8a2d92380792e50b9a679b82ccb59f70aa;hpb=e221104d1e51d84212d3ec131473113c8762d3e7;p=apps%2Fhomescreen.git diff --git a/homescreen/src/homescreenhandler.cpp b/homescreen/src/homescreenhandler.cpp index d931ba8..c1cff26 100644 --- a/homescreen/src/homescreenhandler.cpp +++ b/homescreen/src/homescreenhandler.cpp @@ -23,7 +23,6 @@ void* HomescreenHandler::myThis = 0; HomescreenHandler::HomescreenHandler(QObject *parent) : QObject(parent), mp_hs(NULL), - previous_application("launcher"), current_applciation("launcher") { @@ -68,20 +67,9 @@ void HomescreenHandler::tapShortcut(QString application_name, bool is_full) mp_hs->showWindow(application_name.toStdString().c_str(), j_json); } -bool HomescreenHandler::isSplit() -{ - if(current_applciation == "video") { - if(previous_application == "navigation") { - return true; - } - } - return false; -} - void HomescreenHandler::setCurrentApplication(QString application_name) { HMI_DEBUG("HomeScreen","setCurrentApplication %s", application_name.toStdString().c_str()); - previous_application = current_applciation; current_applciation = application_name; }