diff options
| author | Adam Lesinski <adamlesinski@google.com> | 2015-05-04 23:56:22 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-04 23:56:24 +0000 |
| commit | 247bc95cb31c6f7e56814818dc29aa1eb8512e6c (patch) | |
| tree | cbea46d1c765e4613a8f7ac951e6bce5a5649c00 /tools/aapt2/ResourceValues.h | |
| parent | 2f519532eecd881b034a4e31f57336724604cb56 (diff) | |
| parent | 6ff19664f9279023c96e5a65c3059e1ef4beac0f (diff) | |
| download | frameworks_base-247bc95cb31c6f7e56814818dc29aa1eb8512e6c.zip frameworks_base-247bc95cb31c6f7e56814818dc29aa1eb8512e6c.tar.gz frameworks_base-247bc95cb31c6f7e56814818dc29aa1eb8512e6c.tar.bz2 | |
Merge "AAPT2: Record public status in a more robust way" into mnc-dev
Diffstat (limited to 'tools/aapt2/ResourceValues.h')
| -rw-r--r-- | tools/aapt2/ResourceValues.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/aapt2/ResourceValues.h b/tools/aapt2/ResourceValues.h index e3352f3..f8ece6f 100644 --- a/tools/aapt2/ResourceValues.h +++ b/tools/aapt2/ResourceValues.h @@ -206,18 +206,6 @@ struct BinaryPrimitive : public BaseItem<BinaryPrimitive> { void print(std::ostream& out) const override; }; -/** - * Sentinel value that should be ignored in the final output. - * Mainly used as a placeholder for public entries with no - * values defined yet. - */ -struct Sentinel : public BaseItem<Sentinel> { - bool isWeak() const override; - bool flatten(android::Res_value& outValue) const override; - Sentinel* clone(StringPool* newPool) const override; - void print(std::ostream& out) const override; -}; - struct Attribute : public BaseValue<Attribute> { struct Symbol { Reference symbol; @@ -332,10 +320,6 @@ struct ValueVisitor { visitItem(primitive, args); } - virtual void visit(Sentinel& sentinel, ValueVisitorArgs& args) { - visitItem(sentinel, args); - } - virtual void visit(Attribute& attr, ValueVisitorArgs& args) {} virtual void visit(Style& style, ValueVisitorArgs& args) {} virtual void visit(Array& array, ValueVisitorArgs& args) {} @@ -377,10 +361,6 @@ struct ConstValueVisitor { visitItem(primitive, args); } - virtual void visit(const Sentinel& sentinel, ValueVisitorArgs& args) { - visitItem(sentinel, args); - } - virtual void visit(const Attribute& attr, ValueVisitorArgs& args) {} virtual void visit(const Style& style, ValueVisitorArgs& args) {} virtual void visit(const Array& array, ValueVisitorArgs& args) {} |
