From 1d78615ef2e4eea9b0f1a161c5745336605e82a8 Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Sun, 30 Aug 2009 16:54:12 -0700 Subject: [PATCH] applications are at level 2 --- Resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.47.2