diff options
author | Joanne Chung <joannechung@google.com> | 2020-07-07 18:39:27 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2020-07-23 20:26:12 +0800 |
commit | 3cc809b0d93ef72e4870a46e947dda2c0dc8db08 (patch) | |
tree | 722680a38a8b423b8aa44a9d424c5629a72b228e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4cc7111329edcc0d89a3f352669127decdbd8a0a (diff) |
Undo the initialization if TimeoutException occurred.
If TimeoutException occurred, we don't know whether mService.addClient
succeeded. We should call mService.removeClient() to make service to
unregister the client if exists and reset the mServiceClient.
Bug: 156044027
Test: atest CtsAutoFillServiceTestCases
Test: Run adb shell dumpsys -T 60000 activity -v all to see log
Change-Id: I10ce988603f47117d0efddcc014ec51b72d3b3b4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions