diff options
author | Joanne Chung <joannechung@google.com> | 2019-12-24 19:27:13 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2019-12-24 19:27:13 +0800 |
commit | 9cfd022783de9fe23c29fff50e2bfc79cb4a6a23 (patch) | |
tree | 348875084492fb55fdbfdc20ff75ca908110fcb7 /rs/java/android/renderscript/ProgramFragment.java | |
parent | 97a17d5658b67976561b462757bd71062c1fac61 (diff) |
Fix onConnet() is called twice for AugmentedAutofillService.
When AugmentedAutofillService name changes, onAugmentedServiceNameChanged()
tris to updateRemoteAugmentedAutofillService(). In getServiceForUserLocked(),
if we can not get the service from mServicesCache, the newServiceLocked()
triggers updateRemoteAugmentedAutofillService() which binds the service for
the 1st onConnet(). Then getServiceForUserLocked().updateRemoteAugmentedAutofillService()
will trigger 2nd onConnet(). This causes augmented cts tests flaky.
Due to getServiceForUserLocked() calls updateRemoteAugmentedAutofillService() if we
can not get the service from the cache, we can skip call update.
Bug: 144294363
Bug: 145136776
Test: atest android.autofillservice.cts.augmented
Change-Id: If6505cc05f032da4d20e86b976b7e5862f1b8e8f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions