summaryrefslogtreecommitdiffstats
path: root/include/utils
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 /include/utils
parent1d3173c3dc93bb4f2efc5b059fec8e7577b3258a (diff)
downloadframeworks_base-426431adcc220b6adfbe1d9530247f897e60fa36.zip
frameworks_base-426431adcc220b6adfbe1d9530247f897e60fa36.tar.gz
frameworks_base-426431adcc220b6adfbe1d9530247f897e60fa36.tar.bz2
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 'include/utils')
-rw-r--r--include/utils/ResourceTypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/utils/ResourceTypes.h b/include/utils/ResourceTypes.h
index d1d9844..0603ed5 100644
--- a/include/utils/ResourceTypes.h
+++ b/include/utils/ResourceTypes.h
@@ -1988,7 +1988,8 @@ public:
String16* outName,
const String16* defType = NULL,
const String16* defPackage = NULL,
- const char** outErrorMsg = NULL);
+ const char** outErrorMsg = NULL,
+ bool* outPublicOnly = NULL);
static bool stringToInt(const char16_t* s, size_t len, Res_value* outValue);
static bool stringToFloat(const char16_t* s, size_t len, Res_value* outValue);