diff options
author | Yang Ni <yangni@google.com> | 2016-01-07 14:57:16 -0800 |
---|---|---|
committer | Yang Ni <yangni@google.com> | 2016-03-03 08:47:33 -0800 |
commit | 972a409a3df6f105aa99a3d721e37111c70ef44c (patch) | |
tree | 32015e72e0fff606d47d5b8517996addfc4d4b77 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 352fcaeb2067ee488d69e4da192fa4b96ee78bd8 (diff) |
Set flags in RS JNI calls for rsObj creation
Bug: 25570907
Added a flag to all RS runtime API for rsObj creation to indicate a
call is from Java. This flag will help us avoid incrementing the user
ref count for rsObj's created from Single-Source RS, and therefore
avoid memory leaks for such objects.
Change-Id: Id3604f93b166089e3aca896d1c6c509b3ea19bcf
(cherry picked from commit ad88055821a7aba3318f066c4e5f87bd0315462c)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions