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

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

Merge "surfaceflinger: initialize ActiveConfigInfo fields."

am: f4dca6bc

Change-Id: Ibe6a054af026d5a4f0ec79538a7e7e28c9ce0499
parents 921a39fe f4dca6bc
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;