summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc4.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2022-01-28 12:24:32 -0500
committer John Reck <jreck@google.com> 2022-01-28 12:24:32 -0500
commita4df5019c4291ea1e9fb8a7b6eda6ebb51ad6b18 (patch)
treeeab07545c9c87024550a6567aac4f66b6584a64e /libs/ui/Gralloc4.cpp
parenteb98d0e02fc6fd8b197564701808daf681313f5e (diff)
Enable querying for IAllcoatorAidl
sepolicy changes have merged through Bug: 193558894 Test: build, boot, verify no sepolicy errors Change-Id: I5fe2739e98d15d6bdff7966c321c874ed371f810
Diffstat (limited to 'libs/ui/Gralloc4.cpp')
-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());
}