diff options
author | Florian Mayer <fmayer@google.com> | 2019-12-09 17:16:01 +0000 |
---|---|---|
committer | Florian Mayer <fmayer@google.com> | 2019-12-10 11:30:13 +0000 |
commit | 9fd210224a9da04d043ca356a0829e82795ec6a4 (patch) | |
tree | 51afc7690d5c75a73ceb6d47d6616aa98a6339ee /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7daba13fc0875e2b40b85f08d416e051a3ba191f (diff) |
Do not cache enabled tags in Java.
As we are elimating the Binder notifications for the sysprop update for
atrace, we no longer have a callback that can be used to read the new
value of the enabled tags.
@CritivalNative calls are very fast (25 ns) so the overhead of always
going to native code to read the tags is negligible.
Test: flash & boot
Test: adb shell su root atrace -t 10 ss
Test: adb shell su root atrace -t 10 wm
Bug: 137366208
Change-Id: I1a07fefd751ee28ca9a632a3d78a2925e8827b9c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions