commit | ea04d3913f9c10b5ef559ec794e3584f5505ce2d | [log] [tgz] |
---|---|---|
author | Ivan Lozano <ivanlozano@google.com> | Tue Nov 07 14:37:07 2017 -0800 |
committer | Ivan Lozano <ivanlozano@google.com> | Tue Nov 07 14:47:06 2017 -0800 |
tree | 98731b0a2060feaf0b8efe8b82b0f2a864f235d8 | |
parent | 51f4bac261c544eedb577ceb3e3b5d9ddf8d0238 [diff] |
Fix sanitizer in AudioFlinger threadLoop. The integer sanitizer was catching an unsigned integer overflow on the calculation for throttleMs. This gets implicitly cast to a signed integer anyways, so just perform the cast explicitly. Bug: 30969751 Test: Compiles with and without integer sanitization. Test: Device boots. Change-Id: I4ef7c6f2e871ee56b81e87f3d71be8d85b222934