commit | 0f253efba5552db81bf942705b1e5525fc1f0c90 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Mon Jul 06 11:07:40 2009 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Mon Jul 06 11:12:37 2009 -0700 |
tree | f1c043150036981385e5e7d2f70a6451e8d26bd1 | |
parent | 88008f1955ba005fbe4936e54758aedfffbe37b0 [diff] |
Don't re-parse the framework resources all the time. A small optimization to the resource code, to not re-parse the framework resources every time we build a new AssetManager. Instead, you can now construct a ResTable from a previously created one... of course, like the existing code for using the data in-place, you can't delete the original ResTable until you have deleted the one that has been constructed from it.