summaryrefslogtreecommitdiffstats
path: root/tools/aapt/Resource.cpp
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-08-30 16:54:12 -0700
committerJoe Onorato <joeo@android.com>2009-08-30 16:54:12 -0700
commit56d8eeae6f863771d759448d45f7ce75aef73b21 (patch)
tree4eaa45503f60e8a656d5fbc76f47dfcc16c83d68 /tools/aapt/Resource.cpp
parent1553c82e084ac5763fb393857224145506771b99 (diff)
downloadframeworks_base-56d8eeae6f863771d759448d45f7ce75aef73b21.zip
frameworks_base-56d8eeae6f863771d759448d45f7ce75aef73b21.tar.gz
frameworks_base-56d8eeae6f863771d759448d45f7ce75aef73b21.tar.bz2
applications are at level 2
Diffstat (limited to 'tools/aapt/Resource.cpp')
-rw-r--r--tools/aapt/Resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp
index be05818..4c9853d 100644
--- a/tools/aapt/Resource.cpp
+++ b/tools/aapt/Resource.cpp
@@ -1710,7 +1710,7 @@ writeProguardForAndroidManifest(ProguardKeepSet* keep, const sp<AaptAssets>& 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",