commit | 733a42b24b91ce2881e2e4457a1ee06f12bb127a | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Jan 19 10:41:57 2011 -0800 |
committer | Eric Laurent <elaurent@google.com> | Wed Jan 19 12:16:19 2011 -0800 |
tree | e121df86d79995ec7fe862ca8a01f554dfb9f1ab | |
parent | 54973710d769e4722dc21778f8fcb7b08d2872dd [diff] |
Issue 3315999: catch ToneGenerator exceptions. When the AudioFlinger runs out of available AudioTracks (max 32), the ToneGenerator constructor throws a RuntimeException. Although this denotes an abnormal situation, VolumePanel should catch this exception. Change-Id: Ida1312fe4857e99a0ef38b4013cb03e819405689