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

Commit f59d6c1e authored by zhangshuxiao's avatar zhangshuxiao Committed by android-build-merger
Browse files

Merge "Camera: The vector memory is freed after clear" into qt-dev

am: 9561db99

Change-Id: I6c830d3779a4376306547106d62be090ed1e530f
parents bd9435d5 9561db99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ void CameraLatencyHistogram::add(nsecs_t start, nsecs_t end) {
}

void CameraLatencyHistogram::reset() {
    mBins.clear();
    memset(mBins.data(), 0, mBins.size() * sizeof(int64_t));
    mTotalCount = 0;
}