summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2015-12-17 17:06:49 +0200
committerCalin Juravle <calin@google.com>2016-01-07 11:29:38 +0000
commit690523969d2f5b202e9929ad9fe0b5cba5537b0f (patch)
tree63c2ea57fef10049e7e71706ae66bcb6570d1cd8 /rs/java/android/renderscript/RenderScript.java
parent60d142c54b16be08d8352c7fd1510538014839f7 (diff)
Create jit profile file during the app startup flow.
ActivityThread has already all the needed information (userId,sharedAppId) to create the profile file and set the correct permissions on it. This avoids passing uids to the runtime which now expects the profile file to be already created. As part of this change: - move the registration with the runtim in handleBindApplication - register only if needed: we could properly setup a profile file and we have at least one code path. Note that registration with the runtime is done solely for profiling reasons. Bug: 26080105 Change-Id: I72657e9ea0a0449a09734456b5f8b5da844cee62
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions