OSDN Git Service

Move Keepalive out of IpSecTransform.Builder
authorNathan Harold <nharold@google.com>
Thu, 7 Dec 2017 03:12:28 +0000 (19:12 -0800)
committerNathan Harold <nharold@google.com>
Thu, 25 Jan 2018 03:32:04 +0000 (19:32 -0800)
commitc43e89f9731b39ef4c7f6bc1f2eb0ae724386c45
treea12ba54be55907554ae5451cdb56c411146fa0d7
parent2a8c24be18dfc3d7cb3f405bee898613b23a212e
Move Keepalive out of IpSecTransform.Builder

The lifecycle of Keepalive offloading is, unfortunately
different from that of an IpSecTransform. Because starting
a keepalive is fundamentally asynchronous, and isn't valid
until after a transform exists, it will now be a separate
optional procedure that may succeed or fail. It remains
linked with a Transform by the need for a Transform to exist
in order to initiate a Keepalive.

Bug: 38350389
Test: compilation
Change-Id: Ia76fccee41f86d694dff436043293d0c0762c041
api/system-current.txt
core/java/android/net/IpSecTransform.java