diff --git a/services/distributeddataservice/framework/include/account/account_delegate.h b/services/distributeddataservice/framework/include/account/account_delegate.h index 5636131fd819aaa82c778bf6c338bd26d690f8f2..c2ed384fe520a662b813a7ced2c5e9a139986caf 100644 --- a/services/distributeddataservice/framework/include/account/account_delegate.h +++ b/services/distributeddataservice/framework/include/account/account_delegate.h @@ -67,8 +67,8 @@ public: API_EXPORT virtual void UnsubscribeAccountEvent() = 0; API_EXPORT virtual bool QueryUsers(std::vector &users) = 0; API_EXPORT virtual bool QueryForegroundUsers(std::vector &users) = 0; - API_EXPORT virtual bool IsLoginAccount() = 0; API_EXPORT virtual bool QueryForegroundUserId(int &foregroundUserId) = 0; + API_EXPORT virtual bool IsLoginAccount() = 0; API_EXPORT virtual bool IsVerified(int userId) = 0; API_EXPORT virtual bool RegisterHashFunc(HashFunc hash) = 0; API_EXPORT virtual bool IsDeactivating(int userId) = 0; diff --git a/services/distributeddataservice/framework/include/changeevent/remote_change_event.h b/services/distributeddataservice/framework/include/changeevent/remote_change_event.h index bf58f4328937a5fa76140409c8baf4be77ed95fe..aa6ca90dcb8f62a48310b321053719c4d0356c0b 100644 --- a/services/distributeddataservice/framework/include/changeevent/remote_change_event.h +++ b/services/distributeddataservice/framework/include/changeevent/remote_change_event.h @@ -33,8 +33,8 @@ public: std::string storeId; std::string deviceId; std::string bundleName; - int changeType = 0; // 0 means CLOUD_DATA_CHANGE std::vector tables; + int changeType = 0; // 0 means CLOUD_DATA_CHANGE }; RemoteChangeEvent(int32_t evtId, DataInfo&& info);