PlaybackStateCompat: Add error codes

This introduces error codes for PlaybackStateCompat. An error code is
required for the playback state STATE_ERROR. The previous
setErrorMessage() is deprecated and the error message is now optional.

Bug: 34090305
Test: build & manual
Change-Id: I7a662641ca282ad5466c81eb4fe777cc02cadde9
2 files changed