summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/14/changes
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2011-09-29 12:49:17 -0700
committerMarco Nelissen <marcone@google.com>2011-09-29 12:52:04 -0700
commitd5545bd0a9efa65a8f7436205dd88965bc60192b (patch)
treec4d8993d28a5b2fe688125607e23f808e11b3346 /docs/html/sdk/api_diff/14/changes
parent1c6ac4eb5c035ecc18bab2006610f9015be08f34 (diff)
Use SoundPool instead of Ringtone.
The lock screen was using Ringtone for the lock/unlock sounds, which meant two new MediaPlayers were created every time a sound needed to be played. In addition, the Ringtone was assigned to a local variable, which means it could go be garbage collected and finalized while it was still playing. For short sounds that need to be played repeatedly, SoundPool is a better option anyway, so use that instead. b/5382634 Change-Id: I8794cbb24604fa7c03032bd5e32ceab37a858054
Diffstat (limited to 'docs/html/sdk/api_diff/14/changes')
0 files changed, 0 insertions, 0 deletions