Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcd810d0 authored by niko's avatar niko
Browse files

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.
parent 2b31fec3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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
+1 −2
Original line number Diff line number Diff line
@@ -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
+1 −2
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ public:
    }
};

IMPLEMENT_META_INTERFACE(MediaPlayerService, "android.hardware.IMediaPlayerService");
IMPLEMENT_META_INTERFACE(MediaPlayerService, "android.media.IMediaPlayerService");

// ----------------------------------------------------------------------

+1 −1
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ public:
    }
};

IMPLEMENT_META_INTERFACE(MediaRecorder, "android.hardware.IMediaRecorder");
IMPLEMENT_META_INTERFACE(MediaRecorder, "android.media.IMediaRecorder");

// ----------------------------------------------------------------------