X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/6648ff7840a4819fe656f4c1a7f172fae4fe41a9..1d78615ef2e4eea9b0f1a161c5745336605e82a8:/Resource.cpp diff --git a/Resource.cpp b/Resource.cpp index be05818..4c9853d 100644 --- a/Resource.cpp +++ b/Resource.cpp @@ -1710,7 +1710,7 @@ writeProguardForAndroidManifest(ProguardKeepSet* keep, const sp& ass } else if (depth == 2 && tag == "application") { inApplication = true; } - if (depth == 3 && inApplication) { + if (inApplication) { if (tag == "application" || tag == "activity" || tag == "service" || tag == "receiver" || tag == "provider") { String8 name = getAttribute(tree, "http://schemas.android.com/apk/res/android",