summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ui/Gralloc4.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ui/Gralloc4.cpp b/libs/ui/Gralloc4.cpp
index 1f8a2f058f..bdd3529bb2 100644
--- a/libs/ui/Gralloc4.cpp
+++ b/libs/ui/Gralloc4.cpp
@@ -108,9 +108,6 @@ static inline void sBufferDescriptorInfo(std::string name, uint32_t width, uint3
static bool hasIAllocatorAidl() {
// Avoid re-querying repeatedly for this information;
static bool sHasIAllocatorAidl = []() -> bool {
- // TODO: Enable after landing sepolicy changes
- if constexpr ((true)) return false;
-
if (__builtin_available(android 31, *)) {
return AServiceManager_isDeclared(kAidlAllocatorServiceName.c_str());
}