Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9e1e358 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "CameraService: Initialize two fields in constructor" into sc-dev

parents 95a6374c e8fb93cc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -637,7 +637,8 @@ private:
            public virtual IBinder::DeathRecipient {
        public:
            explicit SensorPrivacyPolicy(wp<CameraService> service)
                    : mService(service), mSensorPrivacyEnabled(false), mRegistered(false) {}
                    : mService(service), mSensorPrivacyEnabled(false), mRegistered(false),
                      isIndividual(false), userId(0) {}

            void registerSelf();
            status_t registerSelfForIndividual(int userId);