Merge "[Autofill PCC]: Fix SaveInfo IllegalArgumentException" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d507626754
@@ -1726,6 +1726,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (ids.isEmpty()) return saveInfo;
|
||||||
AutofillId[] autofillIds = new AutofillId[ids.size()];
|
AutofillId[] autofillIds = new AutofillId[ids.size()];
|
||||||
ids.toArray(autofillIds);
|
ids.toArray(autofillIds);
|
||||||
return SaveInfo.copy(saveInfo, autofillIds);
|
return SaveInfo.copy(saveInfo, autofillIds);
|
||||||
|
|||||||
Reference in New Issue
Block a user