diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2020-03-16 14:54:02 -0700 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2020-03-19 18:33:55 -0700 |
commit | 39cacf2de79e201ac77e7e1100a7b0ba29abb8f5 (patch) | |
tree | 2376580388c7e6c2b7e75b2cd4e6fe68c77d8cb5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4ea1e4288985508e3e0f21febe4da242c86a7dd1 (diff) |
Allow using loaders on non-RM Resources instances
Currently there is a limitation where ResourcesLoaders cannot be used
on Resources object not created through ResourcesManager. This change
creates an update handler for Resources objects that are not registered
with ResourcesManager.
The handler changes the loaders on the asset manager owned by the
Resources instance.
Bug: 151666644
Test: atest ResourceLoaderValuesTest
Change-Id: I5a89f686386bdb088dc964014e7becc0c2b4770f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions