diff options
author | Adam Lesinski <adamlesinski@google.com> | 2016-03-04 14:33:47 -0800 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2016-03-10 11:30:18 -0800 |
commit | 082614c6a57a115ee0c5975e3579bf34a178c0f8 (patch) | |
tree | b675a697d2dbd5585b318a434a310babbf0183c7 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 0dd17c840645e6d1fd67276b45420ca742df6110 (diff) |
Cache per-Activity Resources objects
Each Activity has a Resources object whose underlying state changes
when a configuration change occurs, both global and for that activity only (multi-window).
Views and other clients of the Resources object can safely cache it knowing that
they always have a reference to the most up-to-date resources.
This applies to Resources.Theme objects as well.
Bug:26854894
Change-Id: Ifd3da5a1086e17f747dfc265a447fe92a3a5c692
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions