Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f02793f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Enable querying for IAllcoatorAidl"

parents f06d1361 a4df5019
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -98,9 +98,6 @@ static inline IMapper::Rect sGralloc4Rect(const Rect& rect) {
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());
        }