]> git.saurik.com Git - android/aapt.git/blobdiff - Resource.cpp
Output Proguard options for also overlay layouts.
[android/aapt.git] / Resource.cpp
index 730bd71160f8ce0b9b99fdc1a2c8a2ddda3cb2d0..b4ac92987d6ead86ae44028d16a1519c68d9ad75 100644 (file)
@@ -2194,6 +2194,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;
 }