Use explicit .c_str() for hidl_string am: cfcdceaa4f
am: 6a7f774237
Change-Id: Id0b3e3e0b75df29c0ed89a38fef03ea7edaffe6c
This commit is contained in:
@@ -56,7 +56,7 @@ WVCryptoPlugin::WVCryptoPlugin(const void* data, size_t size,
|
||||
|
||||
Return<bool> WVCryptoPlugin::requiresSecureDecoderComponent(
|
||||
const hidl_string& mime) {
|
||||
if (!strncasecmp(mime, "video/", 6)) {
|
||||
if (!strncasecmp(mime.c_str(), "video/", 6)) {
|
||||
// Type is video, so query CDM to see if we require a secure decoder.
|
||||
CdmQueryMap status;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user