summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorfionaxu <fionaxu@google.com>2017-07-21 18:02:30 -0700
committerfionaxu <fionaxu@google.com>2017-07-24 15:43:27 -0700
commitf62e4cc565330a42b669b0844ca62d2fd0a44491 (patch)
tree832044e01a9d7c41b0a1d5526692e13a7faf1c4c /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdc7b2bc5e3b1d00f02b5c9a9dc8fde2a3c459bff (diff)
proper cleanup onDestroy
1. interrupt the sleeping testing thread onDestory to avoid any thread keep running after onDestory. 2. add check of isFinishing() or isDestoryed() when the testing thread wakeup. 3. detory the webview onDestory since there're chances that some callbacks in WebChromeClient will try to open dialogs while the container activity has been destroyed. Bug: 63819703 Test: Manual test Change-Id: Ida62d9d8e97e8c9f905ce2feab4ea265575baee8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions