summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2022-07-25 01:46:38 +0000
committer Louis Chang <louischang@google.com> 2022-07-25 10:06:40 +0000
commitbaec1d5cb4e615d52a3bf291328c5dadba96c02d (patch)
tree426c0f8afb2d7dca4ba397c25f9bc67771ece1ec /libs/androidfw/ResourceTimer.cpp
parentf4c8dd0528cc47e1bf757e0642cabb5994f0c99e (diff)
Avoid configuration not updated after reasonable configuration changes
Considering the sequence has wrapped around if the sequence number has a significant large jump. Obviously the original value (0x10000) is not big enough nowadays. Also taking the negative jump into account, where the wrap around may happen on the `other` configuration. Bug: 239371596 Test: ConfigurationTest Change-Id: I8ac5ee8c1589b68e63e8e29f961c7fcba719949e
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions