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

Commit 8b8d3b8c authored by Sergey Vasilinets's avatar Sergey Vasilinets
Browse files

Close access to WindowGlobalManager.trimMemory starting with Q

Let system decide itself when to clear internal caches.

Test: N/A
Change-Id: Iea72bbbdbe1a8efd23b348895b8cf522f0259e7c
Fixes: 124051903
parent de626e05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -520,7 +520,7 @@ public final class WindowManagerGlobal {
        return false;
    }

    @UnsupportedAppUsage
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
    public void trimMemory(int level) {
        if (ThreadedRenderer.isAvailable()) {
            if (shouldDestroyEglContext(level)) {