Do not modify the original item info when adding a new item in Worksapce

Fix: 418114270
Test: NA
Flag: EXEMPT bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dbd6f0d18f69d5d33862aaad015c4c8c5907fb46)
Merged-In: Ic0dd00da4f363868a1c2abeeb736b86f6f706631
Change-Id: Ic0dd00da4f363868a1c2abeeb736b86f6f706631
This commit is contained in:
Sebastian Franco
2025-06-09 16:08:14 -05:00
committed by Android Build Coastguard Worker
parent 1a3a1dea81
commit cc18ee380e
3 changed files with 12 additions and 10 deletions
@@ -98,7 +98,7 @@ class AsyncBindingTest {
View(context)
}
.whenever(itemInflater)
.inflateItem(any(), isNull())
.inflateItem(any(), isNull(), any())
doReturn(itemInflater).whenever(launcher).itemInflater
doReturn(InvariantDeviceProfile.INSTANCE.get(context).getDeviceProfile(context))