Fix MusicVisualization to build as API 17.

Bug: 16031597
Change-Id: I0cca784babe65d4e6457fbb8cdd1dbadaee0986e
(cherry picked from commit 179aa027942098acc46432cf3ea68bc94cac5916)
Merge "Fix MusicVisualization to build as API 17."