+256
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Follow up to ag/18795008. Adding tests for new behaviour. As it is not possible to directly check on the bundle if the parcel has been recycled, we inject a spy into it. Mocking static methods is not possible in FrameworkCoreTests, so we introduce a new test class in FrameworksMockingCoreTests which is run when any parcel or bundle source file changes. Bug: 233216232 Test: atest BundleRecyclingTest Change-Id: If691b68a8db1f0110d131ec620935f566cc9367b