Temporarily re-added addSavableIds() with AutoFillId.
Bug: 35727295 Test: manual verification using client using old API Change-Id: I5589c5e38c11fc4d2a04df6c540a8cded6475ac4
This commit is contained in:
@@ -198,6 +198,26 @@ public final class SaveInfo implements Parcelable {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
// TODO(b/33197203): temporary fix to runtime crash
|
||||
public @NonNull Builder addSavableIds(@Nullable AutoFillId... ids) {
|
||||
throwIfDestroyed();
|
||||
|
||||
if (ids == null) {
|
||||
return this;
|
||||
}
|
||||
for (AutoFillId id : ids) {
|
||||
if (mSavableIds == null) {
|
||||
mSavableIds = new ArraySet<>();
|
||||
}
|
||||
mSavableIds.add(id.getDaRealId());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets an optional description to be shown in the UI when the user is asked to save.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user