summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-06-09 11:29:08 -0700
committerAlex Ray <aray@google.com>2013-07-30 13:56:56 -0700
commitbf7a884f22299ad424e350c497248bf6cdcd6467 (patch)
treeecd6ea25601af77c2545f65cce34d09fa8f383d0 /include
parent384f13a078cd6ac36b4c15be732036cdfb572ca8 (diff)
downloadsystem_core-bf7a884f22299ad424e350c497248bf6cdcd6467.zip
system_core-bf7a884f22299ad424e350c497248bf6cdcd6467.tar.gz
system_core-bf7a884f22299ad424e350c497248bf6cdcd6467.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')
-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 8a92cd6..612ff93 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);