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

Commit e83f01fe authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "surfaceflinger: initialize ActiveConfigInfo fields." am: f4dca6bc

am: fbbbd1b3

Change-Id: I824261d38c69a6b9bf7d95e815a527202ff1867b
parents f1eb9b9a fbbbd1b3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -509,9 +509,9 @@ private:
    using RefreshRateType = scheduler::RefreshRateConfigs::RefreshRateType;

    struct ActiveConfigInfo {
        RefreshRateType type;
        int configId;
        Scheduler::ConfigEvent event;
        RefreshRateType type = RefreshRateType::DEFAULT;
        int configId = 0;
        Scheduler::ConfigEvent event = Scheduler::ConfigEvent::None;

        bool operator!=(const ActiveConfigInfo& other) const {
            return type != other.type || configId != other.configId || event != other.event;