summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2020-06-04 21:40:26 -0700
committerSvet Ganov <svetoslavganov@google.com>2020-06-05 09:55:27 -0700
commit185ddf644b4200325a869711fe7e3144e80b3980 (patch)
tree6b627ce29f048ff469c00d39079498865376fda8 /rs/java/android/renderscript/Program.java
parent848cfed7df597b7df4064e72f425475241f365e7 (diff)
Correctly offset app op history on reboot
The offset was computed based off the offset represented by the most recent historical file while we have to use the time this file was written. Also now we persist the history on reboot and shutdown, significantly minimizing the possibility of data loss. Added test API to emulate reboot of the history to allow for precise and tightly controlled test to prevent flakes due to boot time deviations. Test: atest android.app.appops.cts.HistoricalAppopsTest#testRebootHistory Fixes:156853195 Change-Id: I4142371f8bc2b1d710cc8c300e7e79cb03764c04
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions