summaryrefslogtreecommitdiffstats
path: root/drm
diff options
context:
space:
mode:
authorJeff Tinker <jtinker@google.com>2018-07-30 12:05:43 -0700
committerSteven Moreland <smoreland@google.com>2018-07-31 18:34:12 +0000
commit3418cd60774109a24061d8973a0f9e87b81e4c98 (patch)
tree989ffbdb4b49e80063afc8ee6273e5d9d2dac25c /drm
parentdcbd63920b9c7658dcc9c5f73908b6e963ada582 (diff)
downloadandroid_hardware_interfaces-3418cd60774109a24061d8973a0f9e87b81e4c98.tar.gz
android_hardware_interfaces-3418cd60774109a24061d8973a0f9e87b81e4c98.tar.bz2
android_hardware_interfaces-3418cd60774109a24061d8973a0f9e87b81e4c98.zip
Remove spurious error log message
In change id Ie2f306bce6aec697ae584da3f55b3cf72edaa07b, a shared memory leak was fixed using a workaround that maintained compatibility with the frozen DRM HAL API 1.1. Unfortunately it triggered an error log message that was no longer an error condition. This change just removes the log line to avoid raising undue concerns. Change-Id: I9abe08ef5ab86b2f8589a5c1e5c5175e19ab09d2 Test: Compiles Bug:111131173
Diffstat (limited to 'drm')
-rw-r--r--drm/1.0/default/CryptoPlugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/drm/1.0/default/CryptoPlugin.cpp b/drm/1.0/default/CryptoPlugin.cpp
index f9c868db8..666653b26 100644
--- a/drm/1.0/default/CryptoPlugin.cpp
+++ b/drm/1.0/default/CryptoPlugin.cpp
@@ -52,7 +52,6 @@ namespace implementation {
Return<void> CryptoPlugin::setSharedBufferBase(const hidl_memory& base,
uint32_t bufferId) {
sp<IMemory> hidlMemory = mapMemory(base);
- ALOGE_IF(hidlMemory == nullptr, "mapMemory returns nullptr");
// allow mapMemory to return nullptr
mSharedBufferMap[bufferId] = hidlMemory;