commit | eb89cff16d8c9dc67ec798396a775738aec6967a | [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> | Fri Sep 14 20:43:49 2018 +0000 |
tree | 2a5337e2345e54e7c95d6b88dfb14dc86a539660 | |
parent | 0f86842eaa404178b76992250380ba563ce81b37 [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)