Removing usage of a deprecated error code

A widevine-specific error should not have been defined in frameworks.
Submit before https://googleplex-android-review.git.corp.google.com/#/c/338406/

Change-Id: Ie47250ef987a028e09ff553881ac166214244927
This commit is contained in:
Jeff Tinker
2013-08-02 23:29:32 -07:00
parent f4560f109f
commit ddf957faa5

View File

@@ -308,7 +308,7 @@ status_t WVMMediaSource::read(MediaBuffer **buffer, const ReadOptions *options)
if (result >= WV_Status_Min_TP_Error && result <= WV_Status_Max_TP_Error) {
// handle the third party error code range by mapping to a reserved
// vendor defined range of media player error codes
status = ERROR_DRM_WV_VENDOR_MIN + result - WV_Status_Min_TP_Error;
status = ERROR_DRM_VENDOR_MIN + result - WV_Status_Min_TP_Error;
} else {
switch(result) {
case WV_Status_End_Of_Media: