Merge "Fix change in logic introduced in https://r.android.com/1666563."
This commit is contained in:
@@ -579,7 +579,7 @@ func MutateImage(mctx android.BaseModuleContext, m ImageMutatableModule) {
|
|||||||
|
|
||||||
// If using a snapshot, the recovery variant under AOSP directories is not needed,
|
// If using a snapshot, the recovery variant under AOSP directories is not needed,
|
||||||
// except for kernel headers, which needs all variants.
|
// except for kernel headers, which needs all variants.
|
||||||
if m.KernelHeadersDecorator() &&
|
if !m.KernelHeadersDecorator() &&
|
||||||
!m.IsSnapshotPrebuilt() &&
|
!m.IsSnapshotPrebuilt() &&
|
||||||
usingRecoverySnapshot &&
|
usingRecoverySnapshot &&
|
||||||
!isRecoveryProprietaryModule(mctx) {
|
!isRecoveryProprietaryModule(mctx) {
|
||||||
|
Reference in New Issue
Block a user