summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2019-12-09 17:16:01 +0000
committerFlorian Mayer <fmayer@google.com>2019-12-10 13:17:23 +0000
commitdd025de03442230d89a1304b873904a5967edfb2 (patch)
treeccd503c4d79dca19057ba954b55b6ff4b8c9e110 /rs/java/android/renderscript/RenderScriptCacheDir.java
parent168c6090855074843b16985fe4efd750a8153d33 (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 This is a cherry-pick of 9fd210224a9da04d043ca356a0829e82795ec6a4 Change-Id: I1a07fefd751ee28ca9a632a3d78a2925e8827b9c Merged-In: I1a07fefd751ee28ca9a632a3d78a2925e8827b9c
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions