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

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

Merge "Remove eventTime from MotionEntry"

parents 90f1e105 3cab9b64
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -22,6 +22,8 @@ cc_defaults {
        "-Wno-unused-parameter",
        "-Wno-unused-parameter",
        "-Wthread-safety",
        "-Wthread-safety",
        "-Wshadow",
        "-Wshadow",
        "-Wshadow-field-in-constructor-modified",
        "-Wshadow-uncaptured-local",
    ],
    ],
}
}


+0 −1
Original line number Original line Diff line number Diff line
@@ -185,7 +185,6 @@ MotionEntry::MotionEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32
                         uint32_t pointerCount, const PointerProperties* pointerProperties,
                         uint32_t pointerCount, const PointerProperties* pointerProperties,
                         const PointerCoords* pointerCoords, float xOffset, float yOffset)
                         const PointerCoords* pointerCoords, float xOffset, float yOffset)
      : EventEntry(id, Type::MOTION, eventTime, policyFlags),
      : EventEntry(id, Type::MOTION, eventTime, policyFlags),
        eventTime(eventTime),
        deviceId(deviceId),
        deviceId(deviceId),
        source(source),
        source(source),
        displayId(displayId),
        displayId(displayId),
+0 −1
Original line number Original line Diff line number Diff line
@@ -156,7 +156,6 @@ protected:
};
};


struct MotionEntry : EventEntry {
struct MotionEntry : EventEntry {
    nsecs_t eventTime;
    int32_t deviceId;
    int32_t deviceId;
    uint32_t source;
    uint32_t source;
    int32_t displayId;
    int32_t displayId;