mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Merge "Don't depend on String8 cast to C string [cas]" into main am: 610889508f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2748299 Change-Id: Ief959f2b38ac3aa2a8ecc98cbe1c98f2b2342b82 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -79,7 +79,7 @@ Return<bool> DescramblerImpl::requiresSecureDecoderComponent(
|
||||
return false;
|
||||
}
|
||||
|
||||
return holder->requiresSecureDecoderComponent(String8(mime.c_str()));
|
||||
return holder->requiresSecureDecoderComponent(mime.c_str());
|
||||
}
|
||||
|
||||
static inline bool validateRangeForSize(
|
||||
|
||||
@@ -75,7 +75,7 @@ Return<bool> DescramblerImpl::requiresSecureDecoderComponent(const hidl_string&
|
||||
return false;
|
||||
}
|
||||
|
||||
return holder->requiresSecureDecoderComponent(String8(mime.c_str()));
|
||||
return holder->requiresSecureDecoderComponent(mime.c_str());
|
||||
}
|
||||
|
||||
static inline bool validateRangeForSize(uint64_t offset, uint64_t length, uint64_t size) {
|
||||
|
||||
@@ -75,7 +75,7 @@ Return<bool> DescramblerImpl::requiresSecureDecoderComponent(const hidl_string&
|
||||
return false;
|
||||
}
|
||||
|
||||
return holder->requiresSecureDecoderComponent(String8(mime.c_str()));
|
||||
return holder->requiresSecureDecoderComponent(mime.c_str());
|
||||
}
|
||||
|
||||
static inline bool validateRangeForSize(uint64_t offset, uint64_t length, uint64_t size) {
|
||||
|
||||
@@ -71,7 +71,7 @@ ScopedAStatus DescramblerImpl::requiresSecureDecoderComponent(const string& in_m
|
||||
*_aidl_return = false;
|
||||
}
|
||||
|
||||
*_aidl_return = holder->requiresSecureDecoderComponent(String8(in_mime.c_str()));
|
||||
*_aidl_return = holder->requiresSecureDecoderComponent(in_mime.c_str());
|
||||
return ScopedAStatus::ok();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user