Renamed all android.hardware.IMedia* strings to android.media.IMedia*

The android.hardware.ICamera string have not been changed (but is looks
like the camera service and client one should undergo the same procedure)

The implementation of the interface must provide a unique string for
it's interface name. Currently all these strings in the media framework
start with 'android.hardware' when it should really be 'android.media',
the interface token has nothing to do with hardware.
This commit is contained in:
niko
2009-06-22 08:49:52 -07:00
parent 2b31fec39c
commit dcd810d013
5 changed files with 5 additions and 8 deletions

View File

@@ -126,7 +126,7 @@ public:
}
};
IMPLEMENT_META_INTERFACE(MediaMetadataRetriever, "android.hardware.IMediaMetadataRetriever");
IMPLEMENT_META_INTERFACE(MediaMetadataRetriever, "android.media.IMediaMetadataRetriever");
// ----------------------------------------------------------------------
@@ -209,4 +209,3 @@ status_t BnMediaMetadataRetriever::onTransact(
// ----------------------------------------------------------------------------
}; // namespace android

View File

@@ -172,7 +172,7 @@ public:
}
};
IMPLEMENT_META_INTERFACE(MediaPlayer, "android.hardware.IMediaPlayer");
IMPLEMENT_META_INTERFACE(MediaPlayer, "android.media.IMediaPlayer");
// ----------------------------------------------------------------------
@@ -268,4 +268,3 @@ status_t BnMediaPlayer::onTransact(
// ----------------------------------------------------------------------------
}; // namespace android

View File

@@ -46,7 +46,7 @@ public:
}
};
IMPLEMENT_META_INTERFACE(MediaPlayerClient, "android.hardware.IMediaPlayerClient");
IMPLEMENT_META_INTERFACE(MediaPlayerClient, "android.media.IMediaPlayerClient");
// ----------------------------------------------------------------------
@@ -68,4 +68,3 @@ status_t BnMediaPlayerClient::onTransact(
}
}; // namespace android

View File

@@ -111,7 +111,7 @@ public:
}
};
IMPLEMENT_META_INTERFACE(MediaPlayerService, "android.hardware.IMediaPlayerService");
IMPLEMENT_META_INTERFACE(MediaPlayerService, "android.media.IMediaPlayerService");
// ----------------------------------------------------------------------

View File

@@ -264,7 +264,7 @@ public:
}
};
IMPLEMENT_META_INTERFACE(MediaRecorder, "android.hardware.IMediaRecorder");
IMPLEMENT_META_INTERFACE(MediaRecorder, "android.media.IMediaRecorder");
// ----------------------------------------------------------------------