summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorTerry Wang <tytytyww@google.com>2021-07-20 22:01:07 -0700
committerTerry Wang <tytytyww@google.com>2021-07-21 03:50:54 -0700
commitd0ffb446cfdd751f2eaaba918760c4803b1dd018 (patch)
tree6fe3bdc696ea37eefd315c275c8687c2d3638384 /libs/hwui/renderthread/DrawFrameTask.cpp
parenta93719505c2a632831116f8447e736b6f055255b (diff)
Fix validation crash for nextPageToken.
We are caching nextPageToken in query(), and validate it in getNextPage(). But when it reach to the end, the token will be changed to 0. And it will crash if user is trying to fetch next page since 0 is not cached and won't passed the validation. This change fix the issue. Without it, users maybe crashed if they are trying to retrieve all documents in all result pages. Bug: 187972715 Test: AppSearchSessionUnitTest Change-Id: Ia95feb52f2a37348e11afdf0b320c61bfce22d40
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions