diff options
author | 2014-09-24 19:02:52 -0700 | |
---|---|---|
committer | 2014-09-24 19:02:52 -0700 | |
commit | 978ab9d92934b79409638cf220de3002fea8d505 (patch) | |
tree | 9352e4099e7c627436ac9e3a8d7e9094e6987f69 /tools/aapt/ResourceTable.h | |
parent | 7e1d525b47404a27fb1c780ea2070f7ca8344461 (diff) |
AAPT: Fix issue with synthesized resource not actually showing up
AAPT keeps around a few pieces of state that are disjoint, so
simply adding to a collection won't add the resource to the final
flattened output. Instead, we create the resource from the top
and then copy over the values into the newly created resource.
Bug:17647890
Change-Id: I214263e84c18f9370c6e6a5aa53aa2d833fc842d
Diffstat (limited to 'tools/aapt/ResourceTable.h')
-rw-r--r-- | tools/aapt/ResourceTable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aapt/ResourceTable.h b/tools/aapt/ResourceTable.h index c548a851fb2e..eac5dd3f919f 100644 --- a/tools/aapt/ResourceTable.h +++ b/tools/aapt/ResourceTable.h @@ -316,6 +316,7 @@ public: { } Entry(const Entry& entry); + Entry& operator=(const Entry& entry); virtual ~Entry() { } |