summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2019-04-01 11:33:49 +0800
committerjunyulai <junyulai@google.com>2019-04-01 16:22:02 +0800
commit7b305ceb5be02da2a421a125769e540cf516686f (patch)
tree3810f395e2122b2f012302fe1c25fb53fb9a1f48 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenteea398a690496127b3626917bd800a5d57ae911c (diff)
Ignore the asynchronous result while stopping keepalive
Currently, onStopped callback are synchronizely triggered when stop() was called, since the framework don't really care about the result of stopping keepalive. However, if keepalive failed to stop for some reason, the handleStopKeepalive was called mistakenly and trigger additional callback that fail the test case. This commit is the behavior change prior to state machine refactoring, and introduce a stopping state for ignoring the result in the stopping state. Bug: 129512753 Bug: 123988249 Test: 1. atest com.android.server.ConnectivityServiceTest \ #testNattSocketKeepalives --generate-new-metrics 100 2. atest FrameworksNetTests Change-Id: I4fa94e0740ba488fb5fe7ac7c3812c195dd0ec4c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions