Playing sound files specified by absolute URI was implemented.
Synchronous prepare() was replaced with prepareAsync().
Static field was renamed according to the code conventions.
Typo fixed.
Added missed 'break' instruction.
null-dereference possibility was eliminated.
'==' strings comparison is replaced with call to 'equals()'.
Redundant null-checks were removed.
Pass to the Math.round() double value rather than integer.
Integer values boxing was removed.
Unnecessary casts and unused variables were removed.
Unnecessary boxing and unboxing were removed.
Redundant toString() removed.
Manual array to collection copy replaced with addAll.
The manual copying of array contents replaced by call to System.arraycopy()
Call to toArray() with zero-length array argument was replaced with correctly sized array.
'str.indexOf()' != -1 is replaced with 'str.contains()'
inline local variable.
Code clean-up.
Synchronised StringBuffer is replaced with StringBuilder, which is not.