commit | 082614c6a57a115ee0c5975e3579bf34a178c0f8 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Fri Mar 04 14:33:47 2016 -0800 |
committer | Adam Lesinski <adamlesinski@google.com> | Thu Mar 10 11:30:18 2016 -0800 |
tree | b675a697d2dbd5585b318a434a310babbf0183c7 | |
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