summaryrefslogtreecommitdiffstats
path: root/include/utils
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-03-09 15:00:30 -0800
committerDianne Hackborn <hackbod@google.com>2010-03-09 17:18:05 -0800
commitcf244ada58539ce857ec041d7288d0271204fbb6 (patch)
treeec16084d19a3b0c0e43e11dd276fbe7c6a6813c5 /include/utils
parentae58f6d7473c67d76b6c6373794fd1a77543ddb4 (diff)
downloadframeworks_base-cf244ada58539ce857ec041d7288d0271204fbb6.zip
frameworks_base-cf244ada58539ce857ec041d7288d0271204fbb6.tar.gz
frameworks_base-cf244ada58539ce857ec041d7288d0271204fbb6.tar.bz2
Add ability for some manifest attributes to reference resources.
This loosens our restriction on many manifest attributes requiring literal string values, to allow various ones to use values from resources. This is only allowed if the resource value does not change from configuration changes, and the restriction is still in place for attributes that are core to security (requesting permissions) or market operation (used libraries and features etc). Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/ResourceTypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/utils/ResourceTypes.h b/include/utils/ResourceTypes.h
index 0e796dc..b701ce7 100644
--- a/include/utils/ResourceTypes.h
+++ b/include/utils/ResourceTypes.h
@@ -631,6 +631,8 @@ public:
void restart();
+ const ResStringPool& getStrings() const;
+
event_code_t getEventType() const;
// Note, unlike XmlPullParser, the first call to next() will return
// START_TAG of the first element.
@@ -716,8 +718,6 @@ public:
void uninit();
- const ResStringPool& getStrings() const;
-
private:
friend class ResXMLParser;