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

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

Merge "Do not use moved-from object"

parents 16afb8a4 9b5a821d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ void MotionClassifier::enqueueEvent(ClassifierEvent&& event) {
    bool eventAdded = mEvents.push(std::move(event));
    if (!eventAdded) {
        // If the queue is full, suspect the HAL is slow in processing the events.
        ALOGE("Dropped event with eventTime %" PRId64, event.args->eventTime);
        ALOGE("Could not add the event to the queue. Resetting");
        reset();
    }
}