Use aidl interface for Widevine service.
The interface is defined in hardware/interfaces/drm/aidl(http://go/ag/15329852). Test: build m android.hardware.drm-service.widevine -j128 Test: build_and_run_all_unit_tests.sh for hidl tests Test: atest VtsAidlHalDrmTargetTest Bug: 200055138 Bug: 170964303 Change-Id: If2f2a129914436ba5cef1c46f6cb9415e12c3d1c
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
@@ -33,7 +34,7 @@ OEMCrypto_Level3AndroidFileSystem::OEMCrypto_Level3AndroidFileSystem()
|
||||
base_path_[pos] = '\0';
|
||||
if (mkdir(base_path_.c_str(), 0775) != 0 && errno != EEXIST) {
|
||||
wvutil::Log(
|
||||
"", "", 0, wvutil::LOG_ERROR,
|
||||
"", "", 0, wvutil::CDM_LOG_ERROR,
|
||||
"Could not create base directories for Level3FileSystem, error: %s\n",
|
||||
strerror(errno));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user