summaryrefslogtreecommitdiff
path: root/tools/aapt/ResourceTable.h
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-06-09 11:29:08 -0700
committerDianne Hackborn <hackbod@google.com>2011-06-09 15:27:39 -0700
commit426431adcc220b6adfbe1d9530247f897e60fa36 (patch)
treee9dd34ae5151de5bf9f57edb3055d0d228e1f006 /tools/aapt/ResourceTable.h
parent1d3173c3dc93bb4f2efc5b059fec8e7577b3258a (diff)
Enforce public resource restriction on bag parents.
Need to put some more styles in the SDK to avoid breaking apps. Also, welcome Android 3.2. Change-Id: Ia31d07c9b1b91ad868d8630437fdc1b5ae24f37d
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 bbb81408c830..734c541f9b61 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);