commit | 446de54448cf804c6184dae06d58c8675a16a404 | [log] [tgz] |
---|---|---|
author | Hyoungho Choi <hh46.choi@samsung.com> | Thu Oct 22 23:07:57 2020 +0900 |
committer | Narayan Kamath <narayan@google.com> | Fri Oct 23 12:49:11 2020 +0100 |
tree | f318e17f081f8f18f65d3e680524862099e0980d | |
parent | 37e5c22e6cac8a8191005acf906ceb97f6e08d56 [diff] |
Fix issue in getOverlappingRedactionRanges. The code mistakenly assumed that hasOverlapWithReadRequest was a precise check, which isn't the case. It can return true even if the read range does not overlap, therefore we must always check whether we've found an overlap. Bug: 171467335 Test: atest RedactionInfoTest Change-Id: I3f0cc0628dd91f04490a005a6567a00153faac03