summaryrefslogtreecommitdiffstats
path: root/tools/aapt/ResourceTable.h
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-06-09 15:55:54 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-06-09 15:55:54 -0700
commit220cd77de62956eb76c5084e1d1341d69bfd214a (patch)
tree6823d69078ce14eb0aeffd2fd774cea163a52263 /tools/aapt/ResourceTable.h
parente3b80c838753fe8c9049950216c6379098465810 (diff)
parent426431adcc220b6adfbe1d9530247f897e60fa36 (diff)
downloadframeworks_base-220cd77de62956eb76c5084e1d1341d69bfd214a.zip
frameworks_base-220cd77de62956eb76c5084e1d1341d69bfd214a.tar.gz
frameworks_base-220cd77de62956eb76c5084e1d1341d69bfd214a.tar.bz2
Merge "Enforce public resource restriction on bag parents." into honeycomb-mr2
Diffstat (limited to 'tools/aapt/ResourceTable.h')
-rw-r--r--tools/aapt/ResourceTable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/ResourceTable.h b/tools/aapt/ResourceTable.h
index bbb8140..734c541 100644
--- a/tools/aapt/ResourceTable.h
+++ b/tools/aapt/ResourceTable.h
@@ -162,13 +162,13 @@ public:
uint32_t getResId(const String16& package,
const String16& type,
const String16& name,
- bool onlyPublic = false) const;
+ bool onlyPublic = true) const;
uint32_t getResId(const String16& ref,
const String16* defType = NULL,
const String16* defPackage = NULL,
const char** outErrorMsg = NULL,
- bool onlyPublic = false) const;
+ bool onlyPublic = true) const;
static bool isValidResourceName(const String16& s);