diff --git a/services/bundlemgr/test/mock/include/mock_ability_mgr_host.h b/services/bundlemgr/test/mock/include/mock_ability_mgr_host.h index b50eb591..2651a474 100644 --- a/services/bundlemgr/test/mock/include/mock_ability_mgr_host.h +++ b/services/bundlemgr/test/mock/include/mock_ability_mgr_host.h @@ -423,11 +423,15 @@ public: return 0; } +#ifdef SUPPORT_GRAPHICS virtual int RegisterWindowManagerServiceHandler(const sptr& handler) override { return 0; } + virtual void CompleteFirstFrameDrawing(const sptr &abilityToken) override {} +#endif + #ifdef ABILITY_COMMAND_FOR_TEST virtual int ForceTimeoutForTest(const std::string &abilityName, const std::string &state) override {