diff options
author | Joe Onorato <joeo@android.com> | 2009-08-30 16:54:12 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-08-30 16:54:12 -0700 |
commit | 56d8eeae6f863771d759448d45f7ce75aef73b21 (patch) | |
tree | 4eaa45503f60e8a656d5fbc76f47dfcc16c83d68 /tools/aapt/Resource.cpp | |
parent | 1553c82e084ac5763fb393857224145506771b99 (diff) | |
download | frameworks_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.cpp | 2 |
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", |