bool initializeAppInfo(ApplicationInformationPtr &appInfo);
+ // get the current application id from WRT
+ void setCurrentAppId(std::string appId);
+ std::string getCurrentAppId() const;
+
private:
static bool app_callback(package_info_app_component_type_e comp_type, const char *app_id, void *user_data);
AppListChangedCallbacksSet m_callbacks;
pkgmgr_client *m_manager_handle;
long m_watchIdAcc;
+ std::string m_curr_app_id;
public:
std::vector<std::string> applist;