diff options
author | Adam Lesinski <adamlesinski@google.com> | 2016-03-30 10:32:15 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2016-03-30 14:27:11 -0700 |
commit | 7f3f49988799dc85992eedd16135515177c09dd7 (patch) | |
tree | 95565d4babb101ae2a0edc4d4b99a305561b5a93 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0ade7ff3c0100d14ca2ae0319830b5210e66ed27 (diff) |
Allow multiple Resources associated with an Activity
Previously it was assumed that one Resources object per Activity would be fine.
This proved to be incorrect, as methods like Context#createConfigurationContext()
expect to create a new Resources object that gets updated whenever the Activity Resources
get updated.
To fix this issue, there exists a master override configuration for each Activity. Subsequent
Resources created for an Activity will be based off that master override configuration, and
will be updated accordingly.
Bug:27644297
Bug:27604953
Change-Id: Idb3d851f55ee7981eec4e3fe28e2ea8d55f1192d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions