After updating to Android KitKat (4.4), an object of class MediaPlayer
Android generates the following alert in LogCat :
Should have subtitle controller already set
As explained in that question of the OS, it would suffice to call the setSubtitleAnchor
method of the MediaPlayer
class, as the example provided does, that the alert would disappear.
This alert does not cause me any harm, I do not care to leave it there, after all nothing bad happens, no exceptions, no visual messages to the user, but I would still like to delete it.
However, I looked in class documentation MediaPlayer
, already considering API Level 19 , and I could not find the setSubtitleAnchor
method.
Is there another way to make this alert no longer generated by the MediaPlayer
class? Or, how to find this method setSubtitleAnchor
?
* Noting that my instances of class MediaPlayer
are all used to play audio only, no video type is ever played.