summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-06-02 13:15:50 +0900
committerLorenzo Colitti <lorenzo@google.com>2015-06-02 16:21:17 +0900
commitd973537ee1bd013b4233d3369d66821e124a2e65 (patch)
tree57f67609e47e2964b1726b700042425bffe5134c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent99fbb56a0ab81ead404480f0c2df529332a93a32 (diff)
Fix DHCP lease time parsing.
Currently we treat a lease time larger than 2**31-1 as a negative value, which causes DhcpClient to attempt to renew its IP address constantly. Fix this by properly handling large and infinite lifetimes, and while we're at it, impose a minimum lease time of 60 seconds. Bug: 21352084 Change-Id: If62c9efeffad6222e2fe0c110f77d0e4c70de96d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions