Merge "Close access to WindowGlobalManager.trimMemory starting with Q"

This commit is contained in:
TreeHugger Robot
2019-02-11 00:49:11 +00:00
committed by Android (Google) Code Review

View File

@@ -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)) {