commit | 3cc809b0d93ef72e4870a46e947dda2c0dc8db08 | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Tue Jul 07 18:39:27 2020 +0800 |
committer | Joanne Chung <joannechung@google.com> | Thu Jul 23 20:26:12 2020 +0800 |
tree | 722680a38a8b423b8aa44a9d424c5629a72b228e | |
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