Fix FillEventHistoryTest failed on CtsAutoFillServiceTestCases

Timeout for waiting the event history

Fixes: 149720333
Test: atest CtsAutoFillServiceTestCases:FillEventHistoryTest
Change-Id: I9056508c12f7a4d946fbdb7cde053e5ca81104cf
This commit is contained in:
TYM Tsai
2020-02-18 20:15:22 +08:00
parent 10d16e52bc
commit a36a8ba363

View File

@@ -2624,6 +2624,8 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
mService.getServicePackageName(), mComponentName,
serviceLabel, serviceIcon, this, id, mCompatMode);
mService.logDatasetShown(id, mClientState);
synchronized (mLock) {
if (mUiShownTime == 0) {
// Log first time UI is shown.