Fix for duplicate modules across vendor and ramdisk snapshots.

Bug: 215295121
Test: Generated snapshots and verified there are no duplicates.
Change-Id: I6ba7deb4941e21d87578038de19ab313f2be539c
This commit is contained in:
Jose Galmes
2022-02-06 22:06:23 -08:00
parent b3bdf38453
commit 61741e20a5

View File

@@ -149,6 +149,10 @@ func (mod *Module) InRecovery() bool {
return mod.ModuleBase.InRecovery() || mod.ModuleBase.InstallInRecovery()
}
func (mod *Module) InRamdisk() bool {
return mod.ModuleBase.InRamdisk() || mod.ModuleBase.InstallInRamdisk()
}
func (mod *Module) InVendorRamdisk() bool {
return mod.ModuleBase.InVendorRamdisk() || mod.ModuleBase.InstallInVendorRamdisk()
}