commit | af710ff4695763b840fe59423c6fa8c089963525 | [log] [tgz] |
---|---|---|
author | Ivan Lozano <ivanlozano@google.com> | Tue Nov 07 14:37:07 2017 -0800 |
committer | Ivan Lozano <ivanlozano@google.com> | Wed Dec 20 14:54:00 2017 -0800 |
tree | a8688c4d5d1351235ee13fb0a0aa4de177bb90b3 | |
parent | 809f3979e62de662b48fbdbc7e86270f10972392 [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 Merged-In: I4ef7c6f2e871ee56b81e87f3d71be8d85b222934