From 56d8eeae6f863771d759448d45f7ce75aef73b21 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 --- tools/aapt/Resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp index be05818043108..4c9853d1d10f1 100644 --- a/tools/aapt/Resource.cpp +++ b/tools/aapt/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",