Merge "Merge "Remove no-op std::max call" am: c00af4c533 am: ef5e579cec am: f3310cb3b1" into oc-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
d1a0cdc85f
@@ -291,7 +291,6 @@ void JankTracker::addFrame(const FrameInfo& frame) {
|
||||
/ kSlowFrameBucketIntervalMs;
|
||||
framebucket = std::min(framebucket,
|
||||
static_cast<uint32_t>(mData->slowFrameCounts.size() - 1));
|
||||
framebucket = std::max(framebucket, 0u);
|
||||
mData->slowFrameCounts[framebucket]++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user