Loading services/sensorservice/SensorService.h +2 −1 Original line number Original line Diff line number Diff line Loading @@ -223,7 +223,8 @@ private: // connections will be allowed again. // connections will be allowed again. class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener { class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener { public: public: explicit SensorPrivacyPolicy(wp<SensorService> service) : mService(service) {} explicit SensorPrivacyPolicy(wp<SensorService> service) : mService(service), mIsIndividualMic(false), mUserId(0) {} void registerSelf(); void registerSelf(); void unregisterSelf(); void unregisterSelf(); Loading Loading
services/sensorservice/SensorService.h +2 −1 Original line number Original line Diff line number Diff line Loading @@ -223,7 +223,8 @@ private: // connections will be allowed again. // connections will be allowed again. class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener { class SensorPrivacyPolicy : public hardware::BnSensorPrivacyListener { public: public: explicit SensorPrivacyPolicy(wp<SensorService> service) : mService(service) {} explicit SensorPrivacyPolicy(wp<SensorService> service) : mService(service), mIsIndividualMic(false), mUserId(0) {} void registerSelf(); void registerSelf(); void unregisterSelf(); void unregisterSelf(); Loading