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

Commit 657b64c7 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

am: f59d6c1e

Change-Id: I91aecd57a3155fe4642bc8b9888d9a49dcea5bc9
parents 18e22dd6 f59d6c1e
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;
}