From a4df5019c4291ea1e9fb8a7b6eda6ebb51ad6b18 Mon Sep 17 00:00:00 2001 From: John Reck Date: Fri, 28 Jan 2022 12:24:32 -0500 Subject: Enable querying for IAllcoatorAidl sepolicy changes have merged through Bug: 193558894 Test: build, boot, verify no sepolicy errors Change-Id: I5fe2739e98d15d6bdff7966c321c874ed371f810 --- libs/ui/Gralloc4.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/ui/Gralloc4.cpp') 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()); } -- cgit v1.2.3-59-g8ed1b