diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-11-29 12:04:02 +0000 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-11-29 14:01:30 +0000 |
commit | f8c921c60beae46257a55581ce16da6be9a9e09e (patch) | |
tree | 3f6ca9355f26b83495be0164218b5af098fac51c /annotations/generate_annotated_java_files.py | |
parent | 3d7ef9fae946841cde7540ae9c51c6f57641ede1 (diff) |
Fix bug in expires time calculation
Commit 15ab5a903e26caade17bc69468717e8e56f51f23 introduced
test failures in HttpCookiesTest caused by code that tried
to avoid setting max-age to -1. Instead of setting all negative
values of max-age to 0 we do it only for -1, which has
special meaning (an undefined expires value).
Test: CtsLibcoreTestCases
Bug: 31039416
Change-Id: I2571e7205f727f9085564b41761ff243eb4dff3b
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions