am 9139868b: am ba6c98db: am 82943ecf: am d40c93f6: Merge "Add dependency generation...
[android/aapt.git] / Resource.cpp
index ae4bdc80c31459cc5985362e6d9f81cf28092fef..99e781dc5a52feba2d9a9833a3c7fd0cfb3cb52a 100644 (file)
@@ -2210,6 +2210,11 @@ writeProguardForLayouts(ProguardKeepSet* keep, const sp<AaptAssets>& assets)
             }
         }
     }
+    // Handle the overlays
+    sp<AaptAssets> overlay = assets->getOverlay();
+    if (overlay.get()) {
+        return writeProguardForLayouts(keep, overlay);
+    }
     return NO_ERROR;
 }