summaryrefslogtreecommitdiff
path: root/gralloc4/src/aidl/GrallocAllocator.cpp
diff options
context:
space:
mode:
authorAnkit Goyal <layog@google.com>2023-04-07 20:52:17 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2023-04-07 20:52:17 +0000
commitcb7b2c0643e7eec8c59183ebdd0b1b64be56bc85 (patch)
tree31d7d476cb6102f3ab456f50d642d45b86dfaadf /gralloc4/src/aidl/GrallocAllocator.cpp
parenta4d55d053ef4691e428388815e26b15148b2b71a (diff)
parent4180098644e9f51ed1b4ce6c0581035c65883461 (diff)
Merge changes from topic "gralloc-no-ion" into udc-dev
* changes: gralloc4: Choose framebuffer-secure for FB if available gralloc4: Remove redundant ion_device class and stale comments gralloc4: Remove dependence on libion_google gralloc4: Import system and vscaler heap from libion gralloc4: Remove dead code from ion
Diffstat (limited to 'gralloc4/src/aidl/GrallocAllocator.cpp')
-rw-r--r--gralloc4/src/aidl/GrallocAllocator.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gralloc4/src/aidl/GrallocAllocator.cpp b/gralloc4/src/aidl/GrallocAllocator.cpp
index d7addc5..6945505 100644
--- a/gralloc4/src/aidl/GrallocAllocator.cpp
+++ b/gralloc4/src/aidl/GrallocAllocator.cpp
@@ -24,9 +24,7 @@ unsigned long callingPid() {
GrallocAllocator::GrallocAllocator() {}
-GrallocAllocator::~GrallocAllocator() {
- mali_gralloc_ion_close();
-}
+GrallocAllocator::~GrallocAllocator() {}
ndk::ScopedAStatus GrallocAllocator::allocate(const std::vector<uint8_t>& descriptor, int32_t count,
AidlAllocator::AllocationResult* result) {