diff options
author | Christopher Ferris <cferris@google.com> | 2017-06-20 16:13:40 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-06-21 17:19:45 -0700 |
commit | 76de39e5eb158cdc62e6f4a4800ce7f9bc2f2a25 (patch) | |
tree | db8b83d1f27530bd74ce2dbff9ed57114107f1ae /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 4ff3cf1eca71e61896a6f4a493974113656f3fd5 (diff) |
Add a common call when wrapping an app.
When an application is wrapped using setprop wrap.<application>, it
doesn't set the special zygote flag, or make the mallopt call. This
means that a wrapped application will behave differently, and not
be able to track zygote native allocations versus app native allocations.
This CL adds a nativePreApplicationInit call that is used after the
Zygote is forked, and when a wrapped application is called.
Bug: 62068500
Test: Booted sailfish system. Verified that the zygote has not called
Test: the new function. Verified the function is called when a wrapper
Test: is used. Verified the function is called when the Zygote forks
Test: a process.
Change-Id: I392e1b5429be77def63f7815b072d68e9408cc7f
(cherry picked from commit 2980de4a59db048851fbbac9cd847a96a12fa4ec)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions