diff --git a/interfaces/innerkits/include/bundle_active_proxy.h b/interfaces/innerkits/include/bundle_active_proxy.h index b449be2181eb251f2a64c698b474999a1c19b220..806a79e3751da7ead4eb94580451d363039e6855 100644 --- a/interfaces/innerkits/include/bundle_active_proxy.h +++ b/interfaces/innerkits/include/bundle_active_proxy.h @@ -24,14 +24,15 @@ class BundleActiveProxy : public IRemoteProxy { public: int ReportEvent(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId, const int& eventId) override; - int IsBundleIdle(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId) override; + int IsBundleIdle(std::string& bundleName, std::string& abilityName, const int& abilityId, + const int& userId) override; int Query(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId) override; public: explicit BundleActiveProxy(const sptr& impl) : IRemoteProxy(impl) {} virtual ~BundleActiveProxy() {} - + private: static inline BrokerDelegator delegator_; }; diff --git a/services/include/bundle_active_service.h b/services/include/bundle_active_service.h index 44a9eb6c6bff0e00cfb1460ddd3a1397a5943f1a..6ac0f6ba3c8fab07e3009185f63a5d1d86ec639a 100644 --- a/services/include/bundle_active_service.h +++ b/services/include/bundle_active_service.h @@ -27,7 +27,8 @@ class BundleActiveService : public SystemAbility, public BundleActiveStub { public: int ReportEvent(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId, const int& eventId) override; - int IsBundleIdle(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId) override; + int IsBundleIdle(std::string& bundleName, std::string& abilityName, const int& abilityId, + const int& userId) override; int Query(std::string& bundleName, std::string& abilityName, const int& abilityId, const int& userId) override; BundleActiveService(int32_t systemAbilityId, int runOnCreate) : SystemAbility(systemAbilityId, runOnCreate) {} diff --git a/services/include/bundle_active_stub.h b/services/include/bundle_active_stub.h index c8e758c4825d42a6c73288d903881c0127aee581..1a51be575d754bff33e5a9d93b192f52148e397d 100644 --- a/services/include/bundle_active_stub.h +++ b/services/include/bundle_active_stub.h @@ -22,7 +22,8 @@ namespace OHOS { namespace BundleActive { class BundleActiveStub : public IRemoteStub { public: - virtual int32_t OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel &reply, MessageOption &option) override; + virtual int32_t OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel &reply, + MessageOption &option) override; public: BundleActiveStub() {};