commit | 686f816d6440c25ab6dc6cb5c1202951758ef1c7 | [log] [tgz] |
---|---|---|
author | Ryszard Grzesica <ryszard.grzesica@sonymobile.com> | Tue Dec 29 06:28:44 2015 +0100 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue May 08 18:58:30 2018 +0000 |
tree | 389c83311b814cccf18a55fcbc64cc781a8594b6 | |
parent | 135ed75f1466009dbfd03f02aef3bbad89acb328 [diff] |
Add check preventing div0 issue There might be a scenario while period is zero or after including precision would be zero, prevent from division in that case and return false (to use previously used period). Bug: 73898703 bug: 74067957 Test: run playback as stability test Change-Id: I3fad1060b095b7b5ea4c1f9cb3f9d42a4c503560 (cherry picked from commit 27e47ce3c3bbc0b4dc629163de7ebbba7e80b149)