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:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user