diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-05 08:56:38 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-09 16:02:11 +0800 |
commit | fa01549aba442decaf7c6d5b655da2d15d1a32ed (patch) | |
tree | e1ca57568550540743304560cf57dfa55871ed60 /src/hs-apprecover.h | |
parent | 868898485c76ad5b0140e6528ba04c08878ea3ce (diff) |
start launcher and lastmode after homescreen started
Change-Id: I7f6c6d74d5d5c1686dc216bcff3175281b3c1494
Diffstat (limited to 'src/hs-apprecover.h')
-rw-r--r-- | src/hs-apprecover.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hs-apprecover.h b/src/hs-apprecover.h index 701ec5f..b702bd9 100644 --- a/src/hs-apprecover.h +++ b/src/hs-apprecover.h @@ -24,6 +24,7 @@ struct app_recover_info { std::string recover_type; bool visibility; + std::string after; }; class HS_AppRecover { @@ -38,10 +39,11 @@ public: static HS_AppRecover* instance(void); int init(afb_api_t api); void startRecovery(afb_api_t api, recover_map &map); - bool registerRecoveredApp(const std::string &appid); + bool registerRecoveredApp(afb_api_t api, const std::string &appid); void screenUpdated(struct json_object *obj); private: + void startApplication(afb_api_t api, const std::string &appid); void updateLastmode(std::set<std::string> &set); bool isHomescreenApp(const std::string &appid) const; @@ -49,6 +51,7 @@ private: static HS_AppRecover* me; std::map<std::string, struct app_recover_info> m_recover_apps_list; std::set<std::string> m_recovering_set; + std::map<std::string, std::set<std::string>> m_wait_recover_set; std::set<std::string> m_lastmode_list; }; |