diff options
author | Bookatz <bookatz@google.com> | 2018-03-08 11:16:48 -0800 |
---|---|---|
committer | Bookatz <bookatz@google.com> | 2018-03-08 13:34:16 -0800 |
commit | 2fb5653b9761dba5fa29d9abd84e938e59932075 (patch) | |
tree | 49e577405b4c8f6aee13248a086d93ebba75d15b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 983c1e54e1ae651ffb4c0f1ce34a561624af6060 (diff) |
Fix statsd crash due to bad bucket index
Statsd crashes because predictAnomalyTimestamp requests past buckets
that occurred before time began. That's fine, but statsd needs to know
that the data before time began was 0 (instead of reading before the
beginning of the array and crashing).
AnomalyTracker's use of bucketNumbers is in general risky, and should be
auditted. But this cl will fix the current crashing.
Bug: 73825954
Test: Definitely necessary. Will write during audit.
Change-Id: I990ff134153f290d3089bfe3440d838f47996b63
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions